Search Issue Tracker
Fixed in 5.6.0
Votes
0
Found in
5.6.0b5
Issue ID
873844
Regression
Yes
[Regression] Scene/Game view are unresponsive and exceptions thrown after removing Terrain gameobject from the Hierarchy
Steps to repro:
1. Open Unity;
2. Open attached project and 'test' scene;
3. Select Terrain gameobject in the Hierarchy view;
4. Go to 'Paint Details' tab;
5. Double click on 'Cube' detail mesh prototype;
6. Close appeared popup;
7. Select any other gameobject in the scene (e.g. 'Main Camera');
8. Notice that 'Destroying gameobject "" is not allowed at this time." error is shown;
9. Select Terrain gameobject in the Hierarchy view and delete it.
Actual result:
- Scene/Game views become completely unresponsive;
- Error:
'MissingReferenceException: The object of type 'Terrain' has been destroyed but you are still trying to access it.'
is thrown in the Console. See attached video.
Regression introduced in Unity 5.6.0b4
Notes:
- Reproducible in 5.6.0b5; 5.6.0b4; Not reproducible in 5.6.0b3, 5.5.0p4, 5.4.4p1;
- Reproducible on both OSX 10.12.2 and Windows 10;
- Also reproducible for undoing Terrain creation after having received 'Destroying gameobject "" is not allowed at this time." error.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
- Entities Hierarchy window allows Cyclic nesting and throws an “ArgumentException: Cyclic nesting detected” error when dragging a Prefab onto the same Prefab in the Entities Hierarchy
- EnterPlayModeOptions doesn't take effect if user manually modifies m_EnterPlayModeOptionsEnabled to 0
- VFX Graph Documentation dropdown button does nothing when clicked on the right side
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
Add comment