Search Issue Tracker
Fixed in 2022.2.X
Votes
0
Found in
2020.2.0a20
2020.3
2020.3.20f1
2021.2
2022.1
2022.2
Issue ID
1396342
Regression
Yes
Script is stuck in a compilation loop when generating code with InitializeOnLoadMethod
How to reproduce:
1. Open the user's attached project
2. In the Project window, under the Assets folder, right-click the "Generator" or "AutoGen" script and select Reimport
3. Minimize the Editor, then return to it
Expected result: the scripts are not recompiled each time upon maximizing the Editor window
Actual result: the scripts are recompiled each time upon maximizing the Editor window
Reproducible with: 2020.2.0a20, 2020.3.30f1, 2021.2.14f1, 2022.1.0b10, 2022.2.0a2
Not reproducible with: 2019.4.36f1, 2020.2.0a19, 2022.2.0a3, 2022.2.0a6
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
- [OpenGLES][XR] Zooming in on the camera's URP opaque texture causes "double vision" on Quest in OpenGLES3
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a3