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

18.1 IL2CPP - Doesn't work in most games #79

Open
p1xel8ted opened this issue Dec 2, 2023 · 4 comments
Open

18.1 IL2CPP - Doesn't work in most games #79

p1xel8ted opened this issue Dec 2, 2023 · 4 comments

Comments

@p1xel8ted
Copy link

image

[Error :Configuration Manager] Failed to draw setting DebugMode - Il2CppInterop.Runtime.ObjectCollectedException: Object was garbage collected in IL2CPP domain
at Il2CppInterop.Runtime.InteropTypes.Il2CppObjectBase.get_Pointer() in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/InteropTypes/Il2CppObjectBase.cs:line 32
at UnityEngine.GUILayoutOption..ctor(Type type, Object value)
at UnityEngine.GUILayout.MaxWidth(Single maxWidth)
at ConfigurationManager.ConfigurationManager.DrawSettingName(SettingEntryBase setting) in D:\SVN\BepInEx.ConfigurationManager\ConfigurationManager.Shared\ConfigurationManager.cs:line 645
at ConfigurationManager.ConfigurationManager.DrawSingleSetting(SettingEntryBase setting) in D:\SVN\BepInEx.ConfigurationManager\ConfigurationManager.Shared\ConfigurationManager.cs:line 624
[Error :Configuration Manager] Failed to draw setting CorrectFixedUpdateRate - Il2CppInterop.Runtime.ObjectCollectedException: Object was garbage collected in IL2CPP domain
at Il2CppInterop.Runtime.InteropTypes.Il2CppObjectBase.get_Pointer() in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/InteropTypes/Il2CppObjectBase.cs:line 32
at UnityEngine.GUILayoutOption..ctor(Type type, Object value)
at UnityEngine.GUILayout.MaxWidth(Single maxWidth)
at ConfigurationManager.ConfigurationManager.DrawSettingName(SettingEntryBase setting) in D:\SVN\BepInEx.ConfigurationManager\ConfigurationManager.Shared\ConfigurationManager.cs:line 645
at ConfigurationManager.ConfigurationManager.DrawSingleSetting(SettingEntryBase setting) in D:\SVN\BepInEx.ConfigurationManager\ConfigurationManager.Shared\ConfigurationManager.cs:line 624

BE 674
Standard setting, not a custom drawer or anything

@ManlyMarco
Copy link
Member

Currently it only works in some games that have unstripped UnityEngine.IMGUIModule.dll which this appears to not be one of.

@Uklosk
Copy link

Uklosk commented Jun 21, 2024

Hi, do you know any example of game this is working?

@ManlyMarco
Copy link
Member

HoneyCome, RoomGirl, not much else since it needs a separate fix to patch imgui classes back in.

@thegu5
Copy link

thegu5 commented Sep 13, 2024

IIRC BepInEx/Il2CppInterop#108 fixed this issue for me - though it's been a while

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants