Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.
This repository was archived by the owner on May 9, 2023. It is now read-only.

[Bug]: System.ArgumentException: Base class UnityEngine.MonoBehaviour is sealed.. #101

@Celeras

Description

@Celeras

Are you on the latest version of UnityExplorer?

  • Yes, I'm on the latest version of UnityExplorer.

Which release are you using?

BepInEx IL2CPP

Which game did this occur on?

TGC2019, Unity version is v2018.1.0

Describe the issue.

Plugin does not load.

Similar errors with the BepInEx Chainloader resolved by disabling [Logging].UnityLogListening in BepInEx.cfg. Any such workaround for Unity Explorer?

Relevant log output

[Message: Preloader] BepInEx 6.0.0-be.520 - golf
[Message: Preloader] BLEEDING EDGE Build #520 from e66c15bdcb82da29bdfc92f7c62a70d655e3a920 at master
[Info   :   BepInEx] System platform: Bits64, Windows
[Info   : Preloader] Running under Unity v2018.1.0
[Info   : Preloader] 0 patcher plugins loaded
[Info   : Preloader] 0 assemblies discovered
[Message:AssemblyPatcher] Executing 0 patch(es)
[Message:   BepInEx] Chainloader initialized
[Info   :   BepInEx] 1 plugin to load
[Info   :   BepInEx] Loading [UnityExplorer 4.3.5]
[Message:UnityExplorer] UnityExplorer 4.3.5 initializing...
[Error  :   BepInEx] Error loading [UnityExplorer 4.3.5]: System.ArgumentException: Base class UnityEngine.MonoBehaviour is sealed and can't be inherited from
  at UnhollowerRuntimeLib.ClassInjector.RegisterTypeInIl2Cpp (System.Type type, System.Boolean logSuccess, UnhollowerBaseLib.Runtime.VersionSpecific.Class.INativeClassStruct[] interfaces) [0x0010a] in <139c2f4042e14f759ab7fb771030183f>:0 
  at UnhollowerRuntimeLib.ClassInjector.RegisterTypeInIl2Cpp[T] () [0x00010] in <139c2f4042e14f759ab7fb771030183f>:0 
  at UnityExplorer.ExplorerBehaviour.Setup () [0x00001] in <65a89a6c410f4ccd9bcac5def6112184>:0 
  at UnityExplorer.ExplorerCore.Init (UnityExplorer.IExplorerLoader loader) [0x00030] in <65a89a6c410f4ccd9bcac5def6112184>:0 
  at UnityExplorer.ExplorerBepInPlugin.Init () [0x00012] in <65a89a6c410f4ccd9bcac5def6112184>:0 
  at UnityExplorer.ExplorerBepInPlugin.Load () [0x00001] in <65a89a6c410f4ccd9bcac5def6112184>:0 
  at BepInEx.IL2CPP.IL2CPPChainloader.LoadPlugin (BepInEx.PluginInfo pluginInfo, System.Reflection.Assembly pluginAssembly) [0x00011] in <30795f7c61754c89b79b91b7086cb9bc>:0 
  at BepInEx.Bootstrap.BaseChainloader`1[TPlugin].Execute () [0x00222] in <636ecd41dbc14450976ab056beceef4e>:0 
[Message:   BepInEx] Chainloader startup complete

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions