Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Class::Init signatures have been exhausted, using a substitute!" with Teslagrad 2 (Unity 2021.3.16.f1) #624

Open
Dioxymore opened this issue Jun 2, 2023 · 0 comments
Labels
error Error message or log that may need investigation needs-replication Issue needs to be replicated by BepInEx dev

Comments

@Dioxymore
Copy link

What happened?

I might be dumb, since this is my first experience with BepInEx.
I installed BepInEx 6 (tested both pre and BleedingEdge) with the BepInExConfigManager plugin, just to test. The patcher seems to be recognized, but not the plugin itself, so nothing happens when I start the game (except the console showing up and game working as usual).
Maybe related to #474?

BepInEx Distribution

Bleeding Edge from BepisBuilds

Log outputs

BepInEx/LogOutput.log:

[Message: Preloader] BepInEx 6.0.0-be.668 - Teslagrad 2
[Message: Preloader] Built from commit 46e297f210c27e9b4d26e7cd326625b53c83faa0
[Info   :   BepInEx] System platform: Windows 10 64-bit
[Info   :   BepInEx] Process bitness: 64-bit (x64)
[Info   :   BepInEx] Running under Unity 2021.3.16f1
[Info   :   BepInEx] Runtime version: 6.0.7
[Info   :   BepInEx] Runtime information: .NET 6.0.7
[Info   :AssemblyPatcher] Loaded 1 patcher type from [BepInExConfigManager.Il2Cpp.Patcher 1.0.0.0]
[Info   : Preloader] 1 patcher plugin loaded
[Info   : Preloader] 1 assemblies discovered
[Message:AssemblyPatcher] Executing 0 patch(es)
[Message:   BepInEx] Chainloader initialized
[Warning:Il2CppInterop] Class::Init signatures have been exhausted, using a substitute!
[Info   :Il2CppInterop] Registered mono type Il2CppInterop.Runtime.DelegateSupport+Il2CppToMonoDelegateReference in il2cpp domain
[Info   :   BepInEx] 0 plugins to load
[Message:   BepInEx] Chainloader startup complete



Player.log:

Initialize engine version: 2021.3.16f1 (4016570cf34f)
[Subsystems] Discovering subsystems at path E:/Program Files (x86)/Steam/steamapps/common/Teslagrad 2/Teslagrad 2_Data/UnitySubsystems
GfxDevice: creating device client; threaded=1; jobified=0
Direct3D:
    Version:  Direct3D 11.0 [level 11.1]
    Renderer: Radeon RX Vega (ID=0x687f)
    Vendor:   ATI
    VRAM:     8119 MB
    Driver:   31.0.12027.9001
D3D11 device created for Microsoft Media Foundation video decoding.
<RI> Initializing input.

New input system (experimental) initialized
Using XInput
<RI> Input initialized.

<RI> Initialized touch support.

Unloading 4 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 1.059300 ms
Unloading 31 unused Assets to reduce memory usage. Loaded Objects now: 7883.
Total: 4.367000 ms (FindLiveObjects: 0.632600 ms CreateObjectMapping: 0.701400 ms MarkObjects: 2.959500 ms  DeleteObjects: 0.073000 ms)

Unloading 2 Unused Serialized files (Serialized files now loaded: 0)
Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 7883.
Total: 3.630800 ms (FindLiveObjects: 0.288400 ms CreateObjectMapping: 0.287600 ms MarkObjects: 3.040600 ms  DeleteObjects: 0.013900 ms)

WindowsVideoMedia error unhandled Color Standard: 0  falling back to default this may result in rendering issues
WindowsVideoMedia error unhandled Color Standard: 0  falling back to default this may result in rendering issues
Setting up 6 worker threads for Enlighten.
Memory Statistics:
[ALLOC_TEMP_TLS] TLS Allocator
  StackAllocators : 
    [ALLOC_TEMP_MAIN]
      Peak usage frame count: [4.0 KB-8.0 KB]: 649 frames, [2.0 MB-4.0 MB]: 1 frames
      Initial Block Size 4.0 MB
      Current Block Size 4.0 MB
      Peak Allocated Bytes 3.5 MB
      Overflow Count 0
    [ALLOC_TEMP_Loading.AsyncRead]
      Initial Block Size 64.0 KB
      Current Block Size 128.0 KB
      Peak Allocated Bytes 125.2 KB
      Overflow Count 0
    [ALLOC_TEMP_Loading.PreloadManager]
      Initial Block Size 256.0 KB
      Current Block Size 496.0 KB
      Peak Allocated Bytes 493.4 KB
      Overflow Count 15
    [ALLOC_TEMP_Background Job.Worker 8]
      Initial Block Size 32.0 KB
      Current Block Size 32.0 KB
      Peak Allocated Bytes 54 B
      Overflow Count 0
    [ALLOC_TEMP_Job.Worker 6]
      Initial Block Size 256.0 KB
      Current Block Size 256.0 KB
      Peak Allocated Bytes 1.9 KB
      Overflow Count 0
    [ALLOC_TEMP_Job.Worker 0]
      Initial Block Size 256.0 KB
      Current Block Size 256.0 KB
      Peak Allocated Bytes 1.9 KB
      Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 10]
      Initial Block Size 32.0 KB
      Current Block Size 32.0 KB
      Peak Allocated Bytes 54 B
      Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 9]
      Initial Block Size 32.0 KB
      Current Block Size 32.0 KB
      Peak Allocated Bytes 54 B
      Overflow Count 0
    [ALLOC_TEMP_Job.Worker 5]
      Initial Block Size 256.0 KB
      Current Block Size 256.0 KB
      Peak Allocated Bytes 1.9 KB
      Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 14]
      Initial Block Size 32.0 KB
      Current Block Size 36.0 KB
      Peak Allocated Bytes 35.6 KB
      Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 6]
      Initial Block Size 32.0 KB
      Current Block Size 32.0 KB
      Peak Allocated Bytes 54 B
      Overflow Count 0
    [ALLOC_TEMP_Job.Worker 4]
      Initial Block Size 256.0 KB
      Current Block Size 256.0 KB
      Peak Allocated Bytes 1.9 KB
      Overflow Count 0
    [ALLOC_TEMP_Job.Worker 3]
      Initial Block Size 256.0 KB
      Current Block Size 256.0 KB
      Peak Allocated Bytes 1.9 KB
      Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 12]
      Initial Block Size 32.0 KB
      Current Block Size 32.0 KB
      Peak Allocated Bytes 54 B
      Overflow Count 0
    [ALLOC_TEMP_EnlightenWorker] x 6
      Initial Block Size 64.0 KB
      Current Block Size 64.0 KB
      Peak Allocated Bytes 54 B
      Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 15]
      Initial Block Size 32.0 KB
      Current Block Size 32.0 KB
      Peak Allocated Bytes 339 B
      Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 1]
      Initial Block Size 32.0 KB
      Current Block Size 32.0 KB
      Peak Allocated Bytes 54 B
      Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 2]
      Initial Block Size 32.0 KB
      Current Block Size 32.0 KB
      Peak Allocated Bytes 54 B
      Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 7]
      Initial Block Size 32.0 KB
      Current Block Size 32.0 KB
      Peak Allocated Bytes 54 B
      Overflow Count 0
    [ALLOC_TEMP_UnityGfxDeviceWorker]
      Initial Block Size 256.0 KB
      Current Block Size 256.0 KB
      Peak Allocated Bytes 6.0 KB
      Overflow Count 0
    [ALLOC_TEMP_AssetGarbageCollectorHelper] x 11
      Initial Block Size 64.0 KB
      Current Block Size 64.0 KB
      Peak Allocated Bytes 0 B
      Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 5]
      Initial Block Size 32.0 KB
      Current Block Size 32.0 KB
      Peak Allocated Bytes 54 B
      Overflow Count 0
    [ALLOC_TEMP_Job.Worker 9]
      Initial Block Size 256.0 KB
      Current Block Size 256.0 KB
      Peak Allocated Bytes 1.9 KB
      Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 13]
      Initial Block Size 32.0 KB
      Current Block Size 32.0 KB
      Peak Allocated Bytes 54 B
      Overflow Count 0
    [ALLOC_TEMP_Job.Worker 8]
      Initial Block Size 256.0 KB
      Current Block Size 256.0 KB
      Peak Allocated Bytes 1.9 KB
      Overflow Count 0
    [ALLOC_TEMP_Job.Worker 7]
      Initial Block Size 256.0 KB
      Current Block Size 256.0 KB
      Peak Allocated Bytes 1.9 KB
      Overflow Count 0
    [ALLOC_TEMP_Job.Worker 1]
      Initial Block Size 256.0 KB
      Current Block Size 256.0 KB
      Peak Allocated Bytes 1.9 KB
      Overflow Count 0
    [ALLOC_TEMP_Job.Worker 2]
      Initial Block Size 256.0 KB
      Current Block Size 256.0 KB
      Peak Allocated Bytes 1.9 KB
      Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 3]
      Initial Block Size 32.0 KB
      Current Block Size 32.0 KB
      Peak Allocated Bytes 54 B
      Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 11]
      Initial Block Size 32.0 KB
      Current Block Size 32.0 KB
      Peak Allocated Bytes 339 B
      Overflow Count 0
    [ALLOC_TEMP_Job.Worker 10]
      Initial Block Size 256.0 KB
      Current Block Size 256.0 KB
      Peak Allocated Bytes 1.9 KB
      Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 0]
      Initial Block Size 32.0 KB
      Current Block Size 32.0 KB
      Peak Allocated Bytes 54 B
      Overflow Count 0
    [ALLOC_TEMP_HIDInput]
      Initial Block Size 64.0 KB
      Current Block Size 64.0 KB
      Peak Allocated Bytes 10.8 KB
      Overflow Count 0
    [ALLOC_TEMP_Background Job.Worker 4]
      Initial Block Size 32.0 KB
      Current Block Size 32.0 KB
      Peak Allocated Bytes 54 B
      Overflow Count 0
    [ALLOC_TEMP_BatchDeleteObjects]
      Initial Block Size 64.0 KB
      Current Block Size 64.0 KB
      Peak Allocated Bytes 54 B
      Overflow Count 0
[ALLOC_DEFAULT] Dual Thread Allocator
  Peak main deferred allocation count 49
    [ALLOC_BUCKET]
      Large Block size 4.0 MB
      Used Block count 1
      Peak Allocated bytes 4.0 MB
      Failed Allocations. Bucket layout:
        16B: 9 Subsections = 9216 buckets. Failed count: 0
        32B: 25 Subsections = 12800 buckets. Failed count: 8188
        48B: 60 Subsections = 20480 buckets. Failed count: 9306
        64B: 62 Subsections = 15872 buckets. Failed count: 6464
        80B: 35 Subsections = 7168 buckets. Failed count: 2622
        96B: 24 Subsections = 4096 buckets. Failed count: 676
        112B: 22 Subsections = 3218 buckets. Failed count: 659
        128B: 19 Subsections = 2432 buckets. Failed count: 409
    [ALLOC_DEFAULT_MAIN]
      Peak usage frame count: [32.0 MB-64.0 MB]: 649 frames, [64.0 MB-128.0 MB]: 1 frames
      Requested Block Size 16.0 MB
      Peak Block count 3
      Peak Allocated memory 68.1 MB
      Peak Large allocation bytes 24.2 MB
    [ALLOC_DEFAULT_THREAD]
      Peak usage frame count: [16.0 MB-32.0 MB]: 649 frames, [64.0 MB-128.0 MB]: 1 frames
      Requested Block Size 16.0 MB
      Peak Block count 2
      Peak Allocated memory 75.3 MB
      Peak Large allocation bytes 73.5 MB
[ALLOC_TEMP_JOB_1_FRAME]
  Initial Block Size 2.0 MB
  Used Block Count 1
  Overflow Count (too large) 0
  Overflow Count (full) 0
[ALLOC_TEMP_JOB_2_FRAMES]
  Initial Block Size 2.0 MB
  Used Block Count 1
  Overflow Count (too large) 0
  Overflow Count (full) 0
[ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
  Initial Block Size 2.0 MB
  Used Block Count 2
  Overflow Count (too large) 0
  Overflow Count (full) 0
[ALLOC_TEMP_JOB_ASYNC (Background)]
  Initial Block Size 1.0 MB
  Used Block Count 64
  Overflow Count (too large) 1
  Overflow Count (full) 19
[ALLOC_GFX] Dual Thread Allocator
  Peak main deferred allocation count 2
    [ALLOC_BUCKET]
      Large Block size 4.0 MB
      Used Block count 1
      Peak Allocated bytes 4.0 MB
      Failed Allocations. Bucket layout:
        16B: 9 Subsections = 9216 buckets. Failed count: 0
        32B: 25 Subsections = 12800 buckets. Failed count: 8188
        48B: 60 Subsections = 20480 buckets. Failed count: 9306
        64B: 62 Subsections = 15872 buckets. Failed count: 6464
        80B: 35 Subsections = 7168 buckets. Failed count: 2622
        96B: 24 Subsections = 4096 buckets. Failed count: 676
        112B: 22 Subsections = 3218 buckets. Failed count: 659
        128B: 19 Subsections = 2432 buckets. Failed count: 409
    [ALLOC_GFX_MAIN]
      Peak usage frame count: [1.0 MB-2.0 MB]: 650 frames
      Requested Block Size 16.0 MB
      Peak Block count 1
      Peak Allocated memory 1.9 MB
      Peak Large allocation bytes 0 B
    [ALLOC_GFX_THREAD]
      Peak usage frame count: [0.5 MB-1.0 MB]: 93 frames, [1.0 MB-2.0 MB]: 557 frames
      Requested Block Size 16.0 MB
      Peak Block count 1
      Peak Allocated memory 2.0 MB
      Peak Large allocation bytes 0 B
[ALLOC_CACHEOBJECTS] Dual Thread Allocator
  Peak main deferred allocation count 23
    [ALLOC_BUCKET]
      Large Block size 4.0 MB
      Used Block count 1
      Peak Allocated bytes 4.0 MB
      Failed Allocations. Bucket layout:
        16B: 9 Subsections = 9216 buckets. Failed count: 0
        32B: 25 Subsections = 12800 buckets. Failed count: 8188
        48B: 60 Subsections = 20480 buckets. Failed count: 9306
        64B: 62 Subsections = 15872 buckets. Failed count: 6464
        80B: 35 Subsections = 7168 buckets. Failed count: 2622
        96B: 24 Subsections = 4096 buckets. Failed count: 676
        112B: 22 Subsections = 3218 buckets. Failed count: 659
        128B: 19 Subsections = 2432 buckets. Failed count: 409
    [ALLOC_CACHEOBJECTS_MAIN]
      Peak usage frame count: [8.0 MB-16.0 MB]: 649 frames, [16.0 MB-32.0 MB]: 1 frames
      Requested Block Size 4.0 MB
      Peak Block count 5
      Peak Allocated memory 20.5 MB
      Peak Large allocation bytes 5.7 MB
    [ALLOC_CACHEOBJECTS_THREAD]
      Peak usage frame count: [1.0 MB-2.0 MB]: 86 frames, [2.0 MB-4.0 MB]: 1 frames, [4.0 MB-8.0 MB]: 1 frames, [8.0 MB-16.0 MB]: 562 frames
      Requested Block Size 4.0 MB
      Peak Block count 2
      Peak Allocated memory 11.1 MB
      Peak Large allocation bytes 6.0 MB
[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 4.0 MB
      Failed Allocations. Bucket layout:
        16B: 9 Subsections = 9216 buckets. Failed count: 0
        32B: 25 Subsections = 12800 buckets. Failed count: 8188
        48B: 60 Subsections = 20480 buckets. Failed count: 9306
        64B: 62 Subsections = 15872 buckets. Failed count: 6464
        80B: 35 Subsections = 7168 buckets. Failed count: 2622
        96B: 24 Subsections = 4096 buckets. Failed count: 676
        112B: 22 Subsections = 3218 buckets. Failed count: 659
        128B: 19 Subsections = 2432 buckets. Failed count: 409
    [ALLOC_TYPETREE_MAIN]
      Peak usage frame count: [16.0 KB-32.0 KB]: 650 frames
      Requested Block Size 2.0 MB
      Peak Block count 1
      Peak Allocated memory 31.3 KB
      Peak Large allocation bytes 0 B
    [ALLOC_TYPETREE_THREAD]
      Peak usage frame count: [4.0 KB-8.0 KB]: 84 frames, [8.0 KB-16.0 KB]: 2 frames, [32.0 KB-64.0 KB]: 4 frames, [64.0 KB-128.0 KB]: 560 frames
      Requested Block Size 2.0 MB
      Peak Block count 1
      Peak Allocated memory 89.5 KB
      Peak Large allocation bytes 0 B

Environment

- OS: Windows 10
- BepInEx: Bleeding Edge#668 and 6.0.0-pre.1
- Game: Teslagrad 2
@Dioxymore Dioxymore added error Error message or log that may need investigation needs-replication Issue needs to be replicated by BepInEx dev labels Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
error Error message or log that may need investigation needs-replication Issue needs to be replicated by BepInEx dev
Projects
None yet
Development

No branches or pull requests

1 participant