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
- PropertyDrawer gets disposed while still being active when adding a secondary component
- Realtime GI behaves differently when using Unlit (Amplify) and Lit (Shader Graph) shaders in URP
- API Updater strips Unity-owned Custom Attribute references within precompiled DLLs
- [iOS] ListView is flickering when scrolling over the end
- The Aspect Ratio Fitter Component on a Prefab displays a parent-related warning despite the Prefab's inability to have parents when "Envelope Parent" or "Fit In Parent" modes are used
Add comment