Search Issue Tracker

By Design

Votes

0

Found in

2018.3.0a10

2018.3.0b8

Issue ID

1099210

Regression

No

NGUI Prefabs does not support Prefab Mode.

Asset - Database

-

How to reproduce:
1. Open user's attached 'TurnBasedBattle.zip' project
2. Open 'TurnedBasedBattle' scene
3. Expand 'Root' object in the Scene and turn on Prefab Mode in 'TestBattleField' object. No prefab child objects are shown
4. Exit from Prefab Mode. The prefab object is duplicated to the Scene but is disconnected from prefab
5. Add another prefab object from the Assets tab 'Prefabs' folder to the Scene
6. Turn on Prefab Mode and enable prefab object in the Inspector window. All objects disappear
7. Exit from Prefab Mode, notice that prefab duplicate is added to the Scene

Expected result: Prefab Mode shows all prefab's child objects
Actual result: By enabling prefab child objects in the Prefab Mode they disappear, also on exiting Prefab Mode prefab is duplicated

Reproducible: 2018.3.0a10, 2018.3.0b12, 2019.1.0a10

Notes: The Prefab Mode was added in Unity 2018.3.0a6
Sometimes on exiting from Prefab Mode, it changes the Scene objects (objects disappear somewhere), you could see it in 'changed_scene.mp4' file

  1. Resolution Note (2018.3.X):

    NGUI does not yet support Prefab Mode.
    The NGUI framework automatically creates a GameObject with UIPanel in the main scene and reparents the NGUI prefab to that on Start (when it encounters a Widget without a UIRoot). NGUI needs to update to handle that GameObjects from 18.3 can belong to a PrefabStage in the Editor.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.