Skip to content

Cpp2IL bug #540

Description

@Slhunk

Import : During Il2Cpp initialization, found Unity version: 5.4.2p3
Cpp2IL : Initializing Metadata...
Cpp2IL : Using actual IL2CPP Metadata version 24
Import [Error] : Could not initialize assembly manager. Switching to the 'Unknown' scripting backend.
[Error] : Cpp2IL.Core.Exceptions.LibCpp2ILInitializationException: Fatal Exception initializing LibCpp2IL!
---> System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at LibCpp2IL.ClassReadingBinaryReader.ReadStringToNullNoLock(Int64) + 0xec
at LibCpp2IL.Metadata.Il2CppMetadata.ReadStringFromIndexNoReadLock(Int32) + 0x52
at LibCpp2IL.Metadata.Il2CppMethodDefinition.Read(ClassReadingBinaryReader) + 0x4e
at LibCpp2IL.ClassReadingBinaryReader.InternalReadReadableClassT + 0x4e
at LibCpp2IL.ClassReadingBinaryReader.FillReadableArrayHereNoLock[T](T[], Int32) + 0x4f
at LibCpp2IL.Metadata.Il2CppMetadata.ReadMetadataClassArrayT + 0xbb
at LibCpp2IL.Metadata.Il2CppMetadata..ctor(MemoryStream, UnityVersion, Single) + 0x14e8
at LibCpp2IL.Metadata.Il2CppMetadata.ReadFrom(Byte[], UnityVersion) + 0x438
at LibCpp2IL.LibCpp2IlMain.Initialize(Byte[], Byte[], UnityVersion) + 0x68
at Cpp2IL.Core.Cpp2IlApi.InitializeLibCpp2Il(String assemblyPath, String metadataPath, UnityVersion unityVersion, Boolean allowUserToInputAddresses) + 0x41
--- End of inner exception stack trace ---
at Cpp2IL.Core.Cpp2IlApi.InitializeLibCpp2Il(String assemblyPath, String metadataPath, UnityVersion unityVersion, Boolean allowUserToInputAddresses) + 0xab
at AssetRipper.Import.Structure.Assembly.Managers.IL2CppManager.Initialize(PlatformGameStructure) + 0x1ac
at AssetRipper.Import.Structure.GameStructure.InitializeAssemblyManager(CoreConfiguration) + 0x286

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions