Skip to content
This repository was archived by the owner on Apr 13, 2022. It is now read-only.
This repository was archived by the owner on Apr 13, 2022. It is now read-only.

[libil2cpp] ERROR: Could not open .../UnityFramework.framework/Data/Managed/Metadata/global-metadata.dat #20

@cdiddy77

Description

@cdiddy77

Running on iPhone 13 emulator.
Using unity 2021.2.5f1.

My test app runs fine as standalone Unity app. When I follow instructions, and fix the RN code up a bit, then when I hit the start button, I see the following in xcode output window

2022-01-18 20:31:55.697528-0800 rnun1[36530:7446830] Built from '2021.2/staging' branch, Version '2021.2.5f1 (4ec9a5e799f5)', Build type 'Development', Scripting Backend 'il2cpp'
no boot config - using default values
2022-01-18 20:31:55.698152-0800 rnun1[36530:7446830] MemoryManager: Using 'Dynamic Heap' Allocator.
[UnityMemory] Configuration Parameters - Can be set up in boot.config
    "memorysetup-bucket-allocator-granularity=16"
    "memorysetup-bucket-allocator-bucket-count=8"
    "memorysetup-bucket-allocator-block-size=4194304"
    "memorysetup-bucket-allocator-block-count=1"
    "memorysetup-main-allocator-block-size=16777216"
    "memorysetup-thread-allocator-block-size=16777216"
    "memorysetup-gfx-main-allocator-block-size=16777216"
    "memorysetup-gfx-thread-allocator-block-size=16777216"
    "memorysetup-cache-allocator-block-size=4194304"
    "memorysetup-typetree-allocator-block-size=2097152"
    "memorysetup-profiler-bucket-allocator-granularity=16"
    "memorysetup-profiler-bucket-allocator-bucket-count=8"
    "memorysetup-profiler-bucket-allocator-block-size=4194304"
    "memorysetup-profiler-bucket-allocator-block-count=1"
    "memorysetup-profiler-allocator-block-size=16777216"
    "memorysetup-profiler-editor-allocator-block-size=1048576"
    "memorysetup-temp-allocator-size-main=4194304"
    "memorysetup-job-temp-allocator-block-size=2097152"
    "memorysetup-job-temp-allocator-block-size-background=1048576"
    "memorysetup-job-temp-allocator-reduction-small-platforms=262144"
    "memorysetup-temp-allocator-size-background-worker=32768"
    "memorysetup-temp-allocator-size-job-worker=262144"
    "memorysetup-temp-allocator-size-preload-manager=262144"
    "memorysetup-temp-allocator-size-nav-mesh-worker=65536"
    "memorysetup-temp-allocator-size-audio-worker=65536"
    "memorysetup-temp-allocator-size-cloud-worker=32768"
    "memorysetup-temp-allocator-size-gfx=262144"
-> applicationDidFinishLaunching()
Found 1 interfaces on host : 0) 10.0.0.218
Multi-casting "[IP] 10.0.0.218 [Port] 55000 [Flags] 2 [Guid] 2230572895 [EditorId] 0 [Version] 1048832 [Id] iPhonePlayer(8,Charless-MacBook-Pro.local):56000 [Debug] 0 [PackageName] iPhonePlayer [ProjectName] <no name>" to [225.0.0.222:54997]...
[libil2cpp] ERROR: Could not open /Users/charlesparker/Library/Developer/CoreSimulator/Devices/92D8AEF7-C54A-4306-8DF2-54FC08C6BA8A/data/Containers/Bundle/Application/55C78046-AACB-4DD0-941D-15A1C3423F48/rnun1.app/Frameworks/UnityFramework.framework/Data/Managed/Metadata/global-metadata.dat
   IL2CPP initialization failed

When I poke around, I see that the path in the error message exists up to .../UnityFramework.framework, but there is no Data directory beneath it.

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