Search Issue Tracker
Fixed in 2018.3.X
Votes
0
Found in
2018.3.0b3
Issue ID
1087228
Regression
No
[Improved prefabs] Build process fails to remove child game object with EditorOnly tag
Steps to reproduce:
1. Download 1087228_repro.zip
2. Build "SampleScene"
Expected results: Game object with tag EditorOnly are removing when building project
Actual results: Build process fails to remove child game object with EditorOnly tag
Error:
Cannot destroy GameObject that is part of a prefab instance.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Reproduced with: 2019.1.0a3, 2018.3.0b4, 2018.3.0b1
Not reproducible with: 2018.2.11f1 (Legacy prefabs)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Add comment