Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.2.X
Votes
0
Found in
2021.2.0a6
2021.2.0a16
Issue ID
1334286
Regression
Yes
Creating AsmDefs does not cause recompilation of contained scripts
Repro steps:
1. Open attached project 'CompilationWoes.zip"
2. Go to the "Foveated Rendering" folder
3. Create an Assembly Definition in the folder
4. After scripts recompile try adding the Scripts -> ViveFoveatedVisualizer script to the Main Camera
Expected: Script is successfully attached to the Main Camera
Actual: "no MonoBehaviour found" dialog is shown and the script isnt attached to the Camera
Reproducible with: 2021.2.0a6, 2021.2.0a17
Not reproducible with: 2021.2.0a5
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unity Hub redirects to The Unity Roadmap when navigating to “Send Feedback” option
- UI Toolkit throws warning and fails to clear references when fields are not typed as UnityEngine.Object
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0b12