Search Issue Tracker
Fixed in 5.0.2
Votes
4
Found in
5.0.1p3
Issue ID
694503
Regression
No
[AssetBundles] GameObjects in a Scene Loaded from an AssetBundle Lose Their References if the AssetBundle Has Two Scenes
Reproduction steps:
1. Open the attached project "TwoScenesOneMesh"
2. Open the scene "Loader"
3. From the menu select Simple Bundles->Build
4. Play the game
5. Notice in the game window that a mesh was loaded (no material is intended)
6. Exit play mode
7. Add scene "Scene2" to the "bundle" AssetBundle
8. Repeat steps 3 - 4
9. Notice that this time a new GameObject was created in the scene, but it has lost reference to its mesh and is invisible in the game window
Note:
1. References to scripts are also lost
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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
NoseKills
Aug 21, 2015 14:21
Update: just noticed there should be a fix for this in 5.1.2p1
NoseKills
Aug 21, 2015 13:52
Still having this issue in 5.1.2f with a complex project with tens of scenes. The issue occurs though even with a bundle of 2 scenes
dreamcaca
May 20, 2015 08:27
I have same issue (script reference missing)