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.
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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.