21.7 C
New York
Monday, April 28, 2025

unity: Why do my Addressables work for PC standalone however not Android?


I’ve a CCD pipeline arrange utilizing Addressables they usually appear to load completely superb from Unity’s CCD repositories, however once I construct for Android and take a look at it on my cell gadget, it throws a 400 error.

Right here is the error log proven by LogCat:

2025-01-11 07:19:29.030 11779 11795 Debug Unity UnloadTime: 9.590462 ms
2025-01-11 07:19:29.480 11779 11795 Data Unity LoadingBarPanel (LoadingBar)
2025-01-11 07:19:29.480 11779 11795 Data Unity UnityEngine.StackTraceUtility:ExtractStackTrace () (at /residence/bokken/construct/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37)
2025-01-11 07:19:29.480 11779 11795 Data Unity UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object())
2025-01-11 07:19:29.480 11779 11795 Data Unity UnityEngine.Logger:Log (UnityEngine.LogType,object)
2025-01-11 07:19:29.480 11779 11795 Data Unity UnityEngine.Debug:Log (object)
2025-01-11 07:19:29.480 11779 11795 Data Unity LoadingBar:Awake () (at D:/Unity Tasks/stuck-in-machine-hell/Belongings/Basic/LevelSequencer/LoadingBar.cs:22)
2025-01-11 07:19:29.480 11779 11795 Data Unity 
2025-01-11 07:19:29.557 11779 11795 Debug Unity Sensor :        Accelerometer ( 1) ; 0.001200 / 0.00s ; MXC4005_Accelerometer / acc_mxc4005x 
2025-01-11 07:19:29.557 11779 11795 Debug Unity Choreographer out there: Enabling VSYNC timing
2025-01-11 07:19:29.580 11779 11779 Data BLASTBufferQueue_Java replace, w= 720 h= 1600 mName = ViewRootImpl@eaa1e70(UnityPlayerActivity) mNativeObject= 0xeba9dc00 sc.mNativeObject= 0xeb26e1e0 format= -3 caller= android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:2977 android.view.ViewRootImpl.relayoutWindow:10007 android.view.ViewRootImpl.performTraversals:4065 android.view.ViewRootImpl.doTraversal:3248 android.view.ViewRootImpl$TraversalRunnable.run:11206 android.view.Choreographer$CallbackRecord.run:1650 
2025-01-11 07:19:29.580 11779 11779 Data ViewRootImpl@eaa1e70(UnityPlayerActivity) Relayout returned: outdated=(0,0,720,1600) new=(0,0,720,1600) req=(720,1600)0 dur=11 res=0x400 s={true 0xe88ad000} ch=false seqId=0
2025-01-11 07:19:29.581 11779 11779 Data ViewRootImpl@eaa1e70(UnityPlayerActivity) updateBoundsLayer: t=android.view.SurfaceControl$Transaction@eab3fce sc=Floor(identify=Bounds for - com.DefaultCompany.Optimized/com.unity3d.participant.UnityPlayerActivity@0)/@0x3af1eef body=8
2025-01-11 07:19:29.614 11779 11779 Data gralloc4 @set_metadata: replace dataspace from GM (0x00000000 -> 0x08010000)
2025-01-11 07:19:32.726 11779 11795 Data Unity Obtain Dimension At the moment: 9.598705
2025-01-11 07:19:32.726 11779 11795 Data Unity UnityEngine.StackTraceUtility:ExtractStackTrace () (at /residence/bokken/construct/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37)
2025-01-11 07:19:32.726 11779 11795 Data Unity UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object())
2025-01-11 07:19:32.726 11779 11795 Data Unity UnityEngine.Logger:Log (UnityEngine.LogType,object)
2025-01-11 07:19:32.726 11779 11795 Data Unity UnityEngine.Debug:Log (object)
2025-01-11 07:19:32.726 11779 11795 Data Unity LevelManager/d__30:MoveNext () (at D:/Unity Tasks/stuck-in-machine-hell/Belongings/Basic/GameProgression/LevelManager.cs:281)
2025-01-11 07:19:32.726 11779 11795 Data Unity UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /residence/bokken/construct/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)
2025-01-11 07:19:32.726 11779 11795 Data Unity 
2025-01-11 07:19:32.869 11779 11795 Data Unity Net request didn't load from cache. The cached AssetBundle might be cleared from the cache and re-downloaded. Retrying...
2025-01-11 07:19:32.869 11779 11795 Data Unity ProtocolError : HTTP/1.1 400 Dangerous Request
2025-01-11 07:19:32.869 11779 11795 Data Unity ResponseCode : 400, Methodology : GET
2025-01-11 07:19:32.869 11779 11795 Data Unity url : https://6cdc3080-ca15-4f01-994a-2fc1eab3f93a.client-api.unity3dusercontent.com/client_api/v1/environments//buckets//release_by_badge//entry_by_path/content material/?path=/mainmenu_scenes_all_bb8bb5e8076ccab8a553ed6995eb090a.bundle
2025-01-11 07:19:32.869 11779 11795 Data Unity UnityEngine.StackTraceUtility:ExtractStackTrace () (at /residence/bokken/construct/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37)
2025-01-11 07:19:32.869 11779 11795 Data Unity UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object())
2025-01-11 07:19:32.869 11779 11795 Data Unity UnityEngine.Logger:LogFormat (UnityEngine.LogType,string,object())
2025-01-11 07:19:32.869 11779 11795 Data Unity UnityEngine.Debug:LogFormat (string,object())
2025-01-11 07:19:32.869 11779 11795 Data Unity UnityEngine.ResourceManagement.ResourceProviders.AssetBundleResource:WebRequestOperationCompleted (UnityEngine.AsyncOperation) (at ./Library/PackageCache/(e mail protected)/Runtime/ResourceManager/ResourceProviders/AssetBundleProvider.cs:80
2025-01-11 07:19:32.989 11779 11795 Error Unity RemoteProviderException : Unable to load asset bundle from : https://6cdc3080-ca15-4f01-994a-2fc1eab3f93a.client-api.unity3dusercontent.com/client_api/v1/environments//buckets//release_by_badge//entry_by_path/content material/?path=/mainmenu_scenes_all_bb8bb5e8076ccab8a553ed6995eb090a.bundle
2025-01-11 07:19:32.989 11779 11795 Error Unity UnityWebRequest end result : ProtocolError : HTTP/1.1 400 Dangerous Request
2025-01-11 07:19:32.989 11779 11795 Error Unity ResponseCode : 400, Methodology : GET
2025-01-11 07:19:32.989 11779 11795 Error Unity url : https://6cdc3080-ca15-4f01-994a-2fc1eab3f93a.client-api.unity3dusercontent.com/client_api/v1/environments//buckets//release_by_badge//entry_by_path/content material/?path=/mainmenu_scenes_all_bb8bb5e8076ccab8a553ed6995eb090a.bundle
2025-01-11 07:19:32.989 11779 11795 Error Unity 
2025-01-11 07:19:32.989 11779 11795 Error Unity UnityEngine.StackTraceUtility:ExtractStackTrace () (at /residence/bokken/construct/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37)
2025-01-11 07:19:32.989 11779 11795 Error Unity UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object())
2025-01-11 07:19:32.989 11779 11795 Error Unity UnityEngine.Logger:Log (UnityEngine.LogType,object)
2025-01-11 07:19:32.989 11779 11795 Error Unity UnityEngine.Debug:LogError (object)
2025-01-11 07:19:32.989 11779 11795 Error Unity UnityEngine.AddressableAssets.AddressablesImpl:LogException (UnityEngine.ResourceManagement
2025-01-11 07:19:32.999 11779 11795 Error Unity OperationException : GroupOperation failed as a result of one among its dependencies failed
2025-01-11 07:19:32.999 11779 11795 Error Unity RemoteProviderException : Unable to load asset bundle from : https://6cdc3080-ca15-4f01-994a-2fc1eab3f93a.client-api.unity3dusercontent.com/client_api/v1/environments//buckets//release_by_badge//entry_by_path/content material/?path=/mainmenu_scenes_all_bb8bb5e8076ccab8a553ed6995eb090a.bundle
2025-01-11 07:19:32.999 11779 11795 Error Unity UnityWebRequest end result : ProtocolError : HTTP/1.1 400 Dangerous Request
2025-01-11 07:19:32.999 11779 11795 Error Unity ResponseCode : 400, Methodology : GET
2025-01-11 07:19:32.999 11779 11795 Error Unity url : https://6cdc3080-ca15-4f01-994a-2fc1eab3f93a.client-api.unity3dusercontent.com/client_api/v1/environments//buckets//release_by_badge//entry_by_path/content material/?path=/mainmenu_scenes_all_bb8bb5e8076ccab8a553ed6995eb090a.bundle
2025-01-11 07:19:32.999 11779 11795 Error Unity 
2025-01-11 07:19:32.999 11779 11795 Error Unity UnityEngine.StackTraceUtility:ExtractStackTrace () (at /residence/bokken/construct/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37)
2025-01-11 07:19:32.999 11779 11795 Error Unity UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object())
2025-01-11 07:19:32.999 11779 11795 Error Unity UnityEngine.Logger:Log (UnityEngine.LogType,object)
2025-01-11 07:19:32.999 11779 11795 Error Unity UnityEngine.Debug:LogError (object)
2025-01-11 07:19:32.999 11779 11795 Error Unity UnityEngi
2025-01-11 07:19:33.039 11779 11795 Error Unity OperationException : GroupOperation failed as a result of one among its dependencies failed
2025-01-11 07:19:33.039 11779 11795 Error Unity RemoteProviderException : Unable to load asset bundle from : https://6cdc3080-ca15-4f01-994a-2fc1eab3f93a.client-api.unity3dusercontent.com/client_api/v1/environments//buckets//release_by_badge//entry_by_path/content material/?path=/mainmenu_scenes_all_bb8bb5e8076ccab8a553ed6995eb090a.bundle
2025-01-11 07:19:33.039 11779 11795 Error Unity UnityWebRequest end result : ProtocolError : HTTP/1.1 400 Dangerous Request
2025-01-11 07:19:33.039 11779 11795 Error Unity ResponseCode : 400, Methodology : GET
2025-01-11 07:19:33.039 11779 11795 Error Unity url : https://6cdc3080-ca15-4f01-994a-2fc1eab3f93a.client-api.unity3dusercontent.com/client_api/v1/environments//buckets//release_by_badge//entry_by_path/content material/?path=/mainmenu_scenes_all_bb8bb5e8076ccab8a553ed6995eb090a.bundle
2025-01-11 07:19:33.039 11779 11795 Error Unity 
2025-01-11 07:19:33.039 11779 11795 Error Unity UnityEngine.StackTraceUtility:ExtractStackTrace () (at /residence/bokken/construct/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37)
2025-01-11 07:19:33.039 11779 11795 Error Unity UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object())
2025-01-11 07:19:33.039 11779 11795 Error Unity UnityEngine.Logger:Log (UnityEngine.LogType,object)
2025-01-11 07:19:33.039 11779 11795 Error Unity UnityEngine.Debug:LogError (object)
2025-01-11 07:19:33.039 11779 11795 Error Unity UnityEngi
2025-01-11 07:19:33.105 11779 11795 Error Unity ArgumentException: SceneManager.SetActiveScene failed; invalid scene
2025-01-11 07:19:33.105 11779 11795 Error Unity   at (wrapper managed-to-native) UnityEngine.SceneManagement.SceneManager.SetActiveScene_Injected(UnityEngine.SceneManagement.Scene&)
2025-01-11 07:19:33.105 11779 11795 Error Unity   at UnityEngine.SceneManagement.SceneManager.SetActiveScene (UnityEngine.SceneManagement.Scene scene) (0x00000) in :0 
2025-01-11 07:19:33.105 11779 11795 Error Unity   at LevelManager+d__21.MoveNext () (0x00100) in D:Unity Projectsstuck-in-machine-hellAssetsGeneralGameProgressionLevelManager.cs:99 
2025-01-11 07:19:33.105 11779 11795 Error Unity   at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (0x00020) in /residence/bokken/construct/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17 

One other factor I discover is that the error log reveals a package deal URL and once I paste it into the browser it provides the worth null.

How do I am going about fixing this and making Addressables work for Android builds?

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles