Search Issue Tracker

Fixed in Unity 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

Asset Loading

-

-

Priority: 3Not yet prioritized for a release

-

Severity: 2Core functionality majorly impacted

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

Comments (3)

  1. 65bc81f261dc3212954a8b4302cbec6b?d=mm

    NoseKills

    Aug 21, 2015 14:21

    Update: just noticed there should be a fix for this in 5.1.2p1

  2. 65bc81f261dc3212954a8b4302cbec6b?d=mm

    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

  3. D36b053cf1810a2d7bd9720fbe0be5e5?d=mm

    dreamcaca

    May 20, 2015 08:27

    I have same issue (script reference missing)

All about bugs

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