Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Bug [crash] "position out of bounds" when loadscene

Discussion in 'Scripting' started by ouyanglinxin, Aug 23, 2022.

  1. ouyanglinxin

    ouyanglinxin

    Joined:
    Sep 25, 2019
    Posts:
    5
    Loading scene crashes on mobile
    this crash log is "The file ‘archive:/BuildPlayer-tm_radarbase_Rutime_CIGen/BuildPlayer-tm_radarbase_Rutime_CIGen’ is corrupted! Remove it and launch unity again![Position out of bounds!]".

    unity version :"2020.3.29f"

    ========== STACK TRACE ==================
    1 libunity.so ExtractStacktrace(core::basic_string_ref<char>, core::basic_string<char, core::StringStorageDefault<char> >&, core::basic_string<char, core::StringStorageDefault<char> >&, core::basic_string<char, core::StringStorageDefault<char> > const&, int*, int*, int, int, bool)
    2 libunity.so __emutls_register_common
    3 libunity.so DebugStringToFile(DebugStringToFileData const&)
    4 libunity.so TypeTreeQueries::IsStreamedBinaryCompatible(TypeTreeIterator const&, TypeTreeIterator const&)
    5 libunity.so __emutls_register_common
    6 libunity.so __emutls_register_common
    7 libunity.so core::StringStorageDefault<char>::append(char const*, unsigned long)
    8 libunity.so CachedReader::OutOfBoundsError(unsigned long, unsigned long)
    9 libunity.so __emutls_register_common
    10 libunity.so __emutls_register_common
    11 libunity.so __emutls_register_common
    12 libunity.so __emutls_register_common
    13 libunity.so CachedReader::SetPosition(unsigned long)
    14 libunity.so SerializedFile::ReadObject(long, ObjectCreationMode, bool, TypeTree const**, bool*, Object&)
    15 libunity.so __emutls_register_common
    16 libunity.so Object::produce(Unity::Type const*, Unity::Type const*, int, MemLabelId, ObjectCreationMode)
    17 libunity.so __emutls_register_common
    18 libunity.so __emutls_register_common
    19 libunity.so __emutls_register_common
    20 libunity.so PersistentManager::CreateThreadActivationQueueEntry(SerializedFile&, SerializedObjectIdentifier, int, bool, PersistentManager::LockFlags)
    21 libunity.so PersistentManager::Unlock(PersistentManager::LockFlags)
    22 libunity.so PersistentManager::CreateThreadActivationQueueEntry(SerializedFile&, SerializedObjectIdentifier, int, bool, PersistentManager::LockFlags)
    23 libunity.so __emutls_register_common
    24 libunity.so PersistentManager::ReadAndActivateObjectThreaded(int, SerializedObjectIdentifier const&, SerializedFile*, bool, bool, PersistentManager::LockFlags)
    25 libunity.so PersistentManager::LoadFileCompletelyThreaded(core::basic_string_ref<char>, long*, int*, int, PersistentManager::LoadFlags, LoadProgress&, PersistentManager::LockFlags)
    26 libunity.so __emutls_register_common
    27 libunity.so core::StringStorageDefault<char>::assign(char const*, unsigned long)
    28 libunity.so __emutls_register_common
    29 libunity.so __emutls_register_common
    30 libunity.so __emutls_register_common
    31 libunity.so LoadSceneOperation::perform()
    32 libunity.so __emutls_register_common
    33 libunity.so MemoryManager::Deallocate(void*, MemLabelId, char const*, int)
    ========== END OF STACKTRACE ===========
     
    paveln0366 likes this.
  2. ouyanglinxin

    ouyanglinxin

    Joined:
    Sep 25, 2019
    Posts:
    5
    Am I the only one who's had this random meltdown
     
    paveln0366 likes this.