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

Scene Management

-

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)

Add comment

Log in to post comment