Reproduction steps:
1. Open the attached project "ReproProj"
2. Open Build Profiles
3. Select Windows platform
4. Click Build
5. Create a folder and select it
6. Observe the Console
Expected result: Build succeeds
Actual result: Build fails with "Library\PackageCache\com.unity.behavior@3aef49b1615b\Blackboard\BlackboardVariableElement.cs(8,22): error CS0234: The type or namespace name 'AppUI' does not exist in the namespace 'Unity'" Errors
Reproducible with: 2.0.0 (6000.2.4f1), 2.2.0-pre.1 (6000.0.58f1, 6000.2.4f1, 6000.3.0b1)
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Note:
- Does not reproduce in Play mode