I’ve encountered an issue in my development process that I’m hoping some of the community’s experts can help me diagnose. My project is crashing due to an OutOfBoundsError
during the preloading of resources. Here’s the detailed crash log:
Unity Version: 2022.3.17
Runtime Operating System: iOS 18 | iOS 17 | iOS 16
Thread 80 name: Loading.PreloadManager
libsystem_kernel.dylib ___pthread_kill (in libsystem_kernel.dylib)
libsystem_pthread.dylib _pthread_kill (in libsystem_pthread.dylib)
libsystem_c.dylib _raise (in libsystem_c.dylib)
UnityFramework DebugStringToFilePostprocessedStacktrace (in UnityFramework:LogAssert.cpp:1134)
UnityFramework DebugStringToFile (in UnityFramework:LogAssert.cpp:1198)
UnityFramework DebugStringToFile<core::basic_string<char> > (in
UnityFramework OutOfBoundsError (in UnityFramework:CachedReader.cpp:221)
UnityFramework Read (in UnityFramework:CachedReader.cpp:103)
UnityFramework TransferSTLStyleArray<core::string_with_label<1> > (in UnityFramework:StreamedBinaryRead.h:75)
UnityFramework Transfer<StreamedBinaryRead> (in UnityFramework:FastPropertyNameSerialization.h:26)
UnityFramework Transfer<StreamedBinaryRead> (
UnityFramework Transfer<ShaderLab::FastPropertyName> (
UnityFramework Transfer<std::pair<ShaderLab::FastPropertyName, float> > (in UnityFramework:StreamedBinaryRead.h:119)
UnityFramework TransferSTLStyleMap<std::map<ShaderLab::FastPropertyName, float> > (in UnityFramework:StreamedBinaryRead.h:100)
UnityFramework Transfer<std::map<ShaderLab::FastPropertyName, float> > (
UnityFramework Transfer<StreamedBinaryRead> (
UnityFramework Transfer<StreamedBinaryRead> (in UnityFramework:UnityPropertySheet.cpp:465)
UnityFramework Transfer<UnityPropertySheet> (
UnityFramework Transfer<StreamedBinaryRead> (
UnityFramework Transfer<StreamedBinaryRead> (in UnityFramework:Material.cpp:457)
UnityFramework ReadObject (in UnityFramework:SerializedFile.cpp:2749)
UnityFramework ReadObject (
UnityFramework ReadAndActivateObjectThreaded (in UnityFramework:PersistentManager.cpp:1878)
UnityFramework LoadObjectsThreaded (in UnityFramework:PersistentManager.cpp:1992)
UnityFramework Perform (in UnityFramework:LoadOperation.cpp:78)
UnityFramework Perform (in UnityFramework:AssetBundleLoadAssetOperation.cpp:119)
UnityFramework ProcessSingleOperation (in UnityFramework:PreloadManager.cpp:287)
UnityFramework Run (in UnityFramework:PreloadManager.cpp:331)
UnityFramework Run (in UnityFramework:PreloadManager.cpp:183)
UnityFramework RunThreadWrapper (in UnityFramework:Thread.cpp:108)
libsystem_pthread.dylib __pthread_start (in libsystem_pthread.dylib)
libsystem_pthread.dylib _thread_start (in libsystem_pthread.dylib)