Search Issue Tracker

Active

Under Consideration for 2021.3.X, 2022.3.X

Votes

4

Found in

2021.3.37f1

2022.3.30f1

6000.0.3f1

Issue ID

UUM-72333

Regression

No

Prefab overrides don't recover missing managed references

--

-

Reproduction steps:

# Open the attached “Repro“ project
# Open the “Assets/SceneB.unity“ Scene
# Replace all “StringContainer“ occurrences with “Container“ in the “Assets/SRBugDemonstrator.cs“ Script
# Open the “Assets/SceneA.unity“ Scene
# Select the “SRPrefabInstance“ GameObject
# Observe the “Managed Reference 1” inside the Inspector (Debug mode enabled)
# Replace all “Container“ occurrences back with “StringContainer“ in the “Assets/SRBugDemonstrator.cs“ Script
# Observe the “Managed Reference 1” inside the Inspector (Debug mode enabled)

Expected result: The reference is not null and references the old StringContainer
Actual result: The reference is still null and is not able to resolve the old reference

Reproducible with: 2021.3.37f1, 2022.3.30f1, 6000.0.3f1

Reproducible on: M1 MacOS 14.4.1
Not reproducible on: No other environment tested

Note: Closing and reopening the “SceneA.unity” Scene fixes the issue

Comments (1)

  1. nadiaeira00

    May 20, 2024 03:57

    Thank you for your post. I will try it and give you the feedback later. cookieclicker-2.com/

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.