Search Issue Tracker

Fixed

Fixed in 6000.4.7f1, 6000.5.0b8, 6000.6.0a5

Under Consideration for 6000.3.X

Votes

1

Found in

6000.3.12f1

6000.4.1f1

6000.5.0b2

6000.6.0a2

Issue ID

UUM-139663

Regression

Yes

Materials move to other GameObjects in a Prefab when disabling a child GameObject in Prefab Mode with an open SubScene

Entities Graphics

-

How to reproduce:
1. Open the attached “IN-138736“ project
2. Open the “SampleScene“ scene
3. In the Hierarchy window, if not opened, open the “Test Subscene“ subscene (Checkbox near the “Test Subscene“) and expand it’s contents
4. In the Hierarchy window, open the “TestPrefab (Grey Cube)“ in Prefab Scene Edit mode (Arrow to the right of the GameObject)
5. In the Hierarchy window, select the “Red Cube“ GameObject and disable it from the Inspector window
6. Observe the Game view

Actual result: Some materials on the Prefab’s GameObjects have moved to other GameObjects in the same Prefab
Expected result: Materials on the remaining active GameObjects in the Prefab did not change

Reproducible with: 1.4.8 (6000.0.58f2), 1.4.18 (6000.3.12f1), 6000.4.1f1, 6000.5.0b2, 6000.6.0a2 (64de5ee3637)
Not reproducible with: 1.0.0-exp.14 (2023.3.0a2), 1.4.7 (6000.0.58f2)

Reproducible on: Windows 11
Not reproducible on: No other environments tested

Notes:
- Issue does not reproduce in Play mode or Player if the child GameObject (Entity) is disabled with a timer through a script
- In the Scene view, the GameObject gets disabled correctly and no materials get moved. This is different from the Game view, where they are moved
- Issue exhibits non-deterministic behavior as sometimes the wrong GameObject is disabled instead of the Material shuffle

  1. Resolution Note:

    Fixed in 6000.6.0a5

  2. Resolution Note (fix version 6000.6.0a5):

    Fixed in 6000.6.0a5

  3. Resolution Note (fix version 6000.5.0b8):

    Fixed in 6000.5.0b8

  4. Resolution Note (fix version 6000.4.7f1):

    Fixed in 6000.4.7f1

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.