Search Issue Tracker
Fixed
Fixed in 6000.3.0b7, 6000.4.0a2
Votes
0
Found in
2022.3.65f1
6000.0.55f1
6000.1.16f1
6000.2.0f1
6000.3.0a4
6000.4.0a1
Issue ID
UUM-114845
Regression
No
Entering Play Mode fails when using "EditorApplication.LockReloadAssemblies" with imported changes to the C# Script
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/TestScene.unity” Scene
3. Enter the Play Mode
4. Observe that the Editor switches to the Game view
5. Exit Play Mode
6. In the Menu bar, click “Test > Toggle Assembly Reload”
7. Add empty lines to “TestCode.cs” and save
8. In the Menu bar, click “Assets > Refresh”
9. Enter the Play mode
Expected result: Editor switches to Game view
Actual result: Play Mode button changes, but Editor does not switch to Game view, suggesting that Editor does not enter Play Mode
Reproducible with: 2022.3.65f1, 6000.0.55f1, 6000.1.16f1, 6000.2.0f1, 6000.3.0a4
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Notes:
- Make sure that “Auto Refresh” is “Disabled” (Preferences > Asset Pipeline > Auto Refresh)
- Make sure that “Do not reload Domain or Scene” is selected (Project Settings > Editor > When entering Play Mode)
Workaround steps:
1. In the Menu bar, click “Test > Toggle Assembly Reload” to disable assembly reload lock
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
- Group Node name text is way smaller in the renaming state than the actual display size
Add comment