ptitSeb / box64

Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices
https://box86.org
MIT License
3.35k stars 238 forks source link

Failed to load il2cppMemory Statistics #1583

Closed tmahlstrom closed 1 week ago

tmahlstrom commented 2 weeks ago

My Unity game crashes with the below error. Tried updating to .Net4.0, and building with Mono and IL2CPP backend, but all is giving me the same error.

Dynarec for ARM64, with extension: ASIMD CRC32 PageSize:4096 Running on Cortex-A72 with 4 Cores Params database has 25 entries Box64 with Dynarec v0.2.4 45c4117a built on Jun 13 2024 11:35:48 Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/ Using default BOX64_PATH: ./:bin/ Counted 17 Env var Looking for ./boot/firmware/test_linux_3.x86_64 Rename process to "test_linux_3.x86_64" Using emulated /boot/firmware/UnityPlayer.so Using native(wrapped) libm.so.6 Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1 Using native(wrapped) libpthread.so.0 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux-x86-64.so.2 Using native(wrapped) libutil.so.1 Using native(wrapped) librt.so.1 Using native(wrapped) libdl.so.2 Warning: Global Symbol _ZTH15gDeferredAction not found, cannot apply R_X86_64_GLOB_DAT @0x103f5b760 ((nil)) in /boot/firmware/UnityPlayer.so [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-allocator-temp-initial-block-size-main=262144" "memorysetup-allocator-temp-initial-block-size-worker=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" Using native(wrapped) libdbus-1.so.3 Using native(wrapped) libX11.so.6 Using native(wrapped) libXext.so.6 Using native(wrapped) libxcb.so.1 Using native(wrapped) libXau.so.6 Using native(wrapped) libXdmcp.so.6 Using native(wrapped) libXcursor.so.1 Using native(wrapped) libXinerama.so.1 Using native(wrapped) libXi.so.6 Using native(wrapped) libXrandr.so.2 Using native(wrapped) libXrender.so.1 Using native(wrapped) libXss.so.1 Using native(wrapped) libXxf86vm.so.1 Using native(wrapped) libwayland-client.so.0 Using native(wrapped) libwayland-egl.so.1 Using native(wrapped) libwayland-cursor.so.0 Using native(wrapped) libxkbcommon.so.0

Player.log

Failed to load il2cppMemory Statistics: [ALLOC_TEMP_TLS] TLS Allocator StackAllocators : [ALLOC_TEMP_MAIN] Initial Block Size 4.0 MB Current Block Size 4.0 MB Peak Allocated Bytes 447 B Overflow Count 0 [ALLOC_TEMP_AssetGarbageCollectorHelper] x 3 Initial Block Size 64.0 KB Current Block Size 64.0 KB Peak Allocated Bytes 0 B Overflow Count 0 [ALLOC_DEFAULT] Dual Thread Allocator Peak main deferred allocation count 0 [ALLOC_BUCKET] Large Block size 4.0 MB Used Block count 1 Peak Allocated bytes 464 B [ALLOC_DEFAULT_MAIN] Requested Block Size 16.0 MB Peak Block count 1 Peak Allocated memory 12.4 KB Peak Large allocation bytes 0 B [ALLOC_DEFAULT_THREAD] Requested Block Size 16.0 MB Peak Block count 1 Peak Allocated memory 5.5 KB Peak Large allocation bytes 0 B [ALLOC_TEMP_JOB_1_FRAME] Initial Block Size 2.0 MB Used Block Count 0 Overflow Count (too large) 0 Overflow Count (full) 0 [ALLOC_TEMP_JOB_2_FRAMES] Initial Block Size 2.0 MB Used Block Count 0 Overflow Count (too large) 0 Overflow Count (full) 0 [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)] Initial Block Size 2.0 MB Used Block Count 0 Overflow Count (too large) 0 Overflow Count (full) 0 [ALLOC_TEMP_JOB_ASYNC (Background)] Initial Block Size 1.0 MB Used Block Count 0 Overflow Count (too large) 0 Overflow Count (full) 0 [ALLOC_GFX] Dual Thread Allocator Peak main deferred allocation count 0 [ALLOC_BUCKET] Large Block size 4.0 MB Used Block count 1 Peak Allocated bytes 464 B [ALLOC_GFX_MAIN] Requested Block Size 16.0 MB Peak Block count 1 Peak Allocated memory 96 B Peak Large allocation bytes 0 B [ALLOC_GFX_THREAD] Requested Block Size 16.0 MB Peak Block count 0 Peak Allocated memory 0 B Peak Large allocation bytes 0 B [ALLOC_CACHEOBJECTS] Dual Thread Allocator Peak main deferred allocation count 0 [ALLOC_BUCKET] Large Block size 4.0 MB Used Block count 1 Peak Allocated bytes 464 B [ALLOC_CACHEOBJECTS_MAIN] Requested Block Size 4.0 MB Peak Block count 1 Peak Allocated memory 96 B Peak Large allocation bytes 0 B [ALLOC_CACHEOBJECTS_THREAD] Requested Block Size 4.0 MB Peak Block count 0 Peak Allocated memory 0 B Peak Large allocation bytes 0 B [ALLOC_TYPETREE] Dual Thread Allocator Peak main deferred allocation count 0 [ALLOC_BUCKET] Large Block size 4.0 MB Used Block count 1 Peak Allocated bytes 464 B [ALLOC_TYPETREE_MAIN] Requested Block Size 2.0 MB Peak Block count 1 Peak Allocated memory 96 B Peak Large allocation bytes 0 B [ALLOC_TYPETREE_THREAD] Requested Block Size 2.0 MB Peak Block count 0 Peak Allocated memory 0 B Peak Large allocation bytes 0 B

tmahlstrom commented 1 week ago

fixed when i upgraded from 2GB to 8GB pi4