Search Issue Tracker
Fixed in 5.4.0
Votes
13
Found in
5.3.4f1
Issue ID
780289
Regression
Yes
[Asset Bundle] Unity fails to load the object with script that has the same name as an assets in a bundle asynchronously
Reproduction steps:
1) Open attached project "ABRefBug"
2) Build asset bundles using the menu "Assets/AssetBundles/Build AssetBundles"
3) Open "Main" scene
4) Select "Loader" object
5) In the inspector check "Load Dependency Bundle", "LoadWithExtention", "Load Without Extenstion" and "Use Load Async"
6) Enter play mode.
--- Result is logged in the console
--- You should see missing reference script errors and reference to runtime script errors indicating Unity failed to load the script that has the same name as the assets in the bundle
Regression introduced in 5.3.3p1
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
pspkurara
Sep 27, 2017 02:12
We have confirmed recurrence at 5.4.2 p4.
Failed Load Asset Dependencies List : java.lang.NullPointerException: Attempt to invoke virtual method 'int java.io.InputStream.read(byte[])' on a null object reference
09-27 10:53:14.607 9235 9262 E Unity : System.Diagnostics.StackTrace:init_frames(Int32, Boolean)
09-27 10:53:14.607 9235 9262 E Unity : UnityEngine.StackTraceUtility:ExtractStackTrace()
sparedes
Mar 24, 2016 02:14
Not sure if this is the same error, but I just released an update on Android made with Unity 5.3.4f1 and I'm getting a lot of errors with a stack similar to:
0 java.lang.Error: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000029
1 Build fingerprint: 'Sony/E2104/E2104:4.4.4/24.0.A.5.14/8ev_Pw:user/release-keys'
2 Revision: '0'
3 pid: 30876, tid: 30905, name: UnityMain >>> com.dena.west.rd2 <<<
4 r0 6ebbcb20 r1 00000000 r2 00000021 r3 000078b9
5 r4 62727478 r5 6ebbcb20 r6 79d84120 r7 666e4788
6 r8 00000001 r9 62727450 sl 3b9aca00 fp 62727498
7 ip 78b94001 sp 62727450 lr 613e3f74 pc 61fec48c cpsr 505f7665
8
9 at libunity.00ce148c(Native Method)
10 at libunity.000d8f70(Native Method)
11 at libunity.000d8e50(Native Method)
12 at libunity.007afaec(Native Method)
13 at Unknown.0000758c(Unknown Source)
14 at AssetBundleRequest.get_asset(Native Method)
15 at <UpdateAsset>c__Iterator10.MoveNext(<0x00458>:1112)
16 at CoroutineRuner.Advance(<0x00637>:1591)
17 at BaseBetterMonoBehaviour.Update(<0x000ef>:239)
18 at Object.runtime_invoke_void__this__(Native Method)
19 at libmono.00021ccb(Native Method)
20 at libmono.mono_runtime_invoke(mono_runtime_invoke:136)
21 at libunity.003e1424(Native Method)
22 at libunity.003e13e0(Native Method)
23 at libunity.00346408(Native Method)
24 at libunity.001830e8(Native Method)
25 at libunity.00388034(Native Method)
26 at libunity.004d20f4(Native Method)
27 at libunity.004d71dc(Native Method)
28 at libdvm.dvmPlatformInvoke(dvmPlatformInvoke:112)
29 at libdvm.dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)(dvmCallJNIMethod:484)
30 at libdvm.00027e68(Native Method)
31 at libdvm.dvmMterpStd(Thread*)(dvmMterpStd:76)
32 at libdvm.dvmInterpret(Thread*, Method const*, JValue*)(dvmInterpret:188)
33 at libdvm.dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)(dvmCallMethodV:340)
34 at libdvm.dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)(dvmCallMethod:20)
35 at libdvm.00057aa1(Native Method)
36 at libc.__thread_entry(__thread_entry:72)