Search Issue Tracker
Fixed in 2018.4.X
Fixed in 2019.2.X, 2019.3.X
Votes
0
Found in
2018.4.0f1
2018.4.2f1
2019.2.0a1
2019.3.0a1
2020.1.0a1
Issue ID
1178508
Regression
No
[AssetBundle] "The referenced script (Unknown) on this Behaviour is missing!" errors when loading object from Asset Bundle
How to reproduce:
1. Open the "BundleTest.zip" project
2. Open the "Scene1.unity" scene
3. Build Asset Bundle
- Test -> BuildBundle, You can see the assetbundle in BundleTest/bin folder
4. Edit Game.cs script
- change the Asset Bundle file path in AssetBundle.LoadFromFile("your project folder/bin/bundletest");
5. Enter Play mode
Actual result: 3 warnings are thrown into the console about missing references.
Expected result: No warnings are thrown.
Reproducible with: 2020.1.0a1, 2019.3.0b1, 2019.2.3f1, 2018.4.7f1.
Notes:
- The issue is not reproducible if line "var ao = EditorSceneManager.LoadSceneAsyncInPlayMode (SCENE2, new LoadSceneParameters (LoadSceneMode.Single));" Game.cs: 23 is commented out.
- Can't test 2017.4 as EditorSceneManager.LoadSceneAsyncInPlayMode is not implemented there.
-----------------------------------
Fixed in 2020.1.0a9, 2019.3.0b10, 2019.2.13f1, 2018.4.13f1.
Comments (15)
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
- Additional settings dropdown in Terrain Overlay is not grayed out for painting modes with no extra settings
- Inconsistent Terrain brush Opacity values between Scene view and Inspector
- [Usability] No separated opacity for the different types of Terrain brushes
- [Quest] Pitch Shifter causes audio degradation on Quest 2 devices when sped up
- "GUI Error: Invalid GUILayout" and "NullReferenceException" are thrown when adding Scenes to "Scenes in Baking Set" in Adaptive Probe Volumes
saralouis916
Dec 15, 2020 09:44
Thanks a lot for sharing this informative content, this is what we are looking for.