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

【Crash】the plugin folder dll: JetBrains.Rider.Unity.Editor.Plugin.Repacked casue unity crash #2440

Open
WandingPace opened this issue Apr 25, 2024 · 7 comments

Comments

@WandingPace
Copy link

System.MissingMethodException: Method not found: 'UnityEngine.Application.RegisterLogCallback'.
at JetBrains.Rider.Unity.Editor.PluginEntryPoint.EnsureInitialised () [0x00000] in :0
at JetBrains.Rider.Unity.Editor.PluginEntryPoint..cctor () [0x00000] in :0
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogString(LogType, String)
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)

additional information:
unity version : 5.6
rider version : 2023.3.2

@van800
Copy link
Member

van800 commented Apr 25, 2024

Try to delete it and reopen Rider, would it install a different version?

@WandingPace
Copy link
Author

Try to delete it and reopen Rider, would it install a different version?

no , it still intall the same verison,
image
, and unity crash still exist.

@WandingPace
Copy link
Author

WandingPace commented Apr 25, 2024

@van800 I've try JetBrains Rider 2022.2.4, crash gone, but error still exist. is it a issue in v2023.3.2

@van800
Copy link
Member

van800 commented Apr 25, 2024

Which Unity version do you have?
https://unity.com/releases/editor/archive
What OS are you using?

Please double-click that dll, it would open in AssemblyExplorer.
Screenshot it there for me please
image
image

@van800
Copy link
Member

van800 commented Apr 25, 2024

For some reason I can't login in Unity 5.6, so can't fully reproduce the issue.

@WandingPace
Copy link
Author

@van800 hi, van I've found the issue is because we strip many Unity Obsolete method, include "UnityEngine.Application.RegisterLogCallback", there's mono compile error cause unity crash.
can I comile the unity plugin myself, is there any document.

@van800
Copy link
Member

van800 commented Apr 26, 2024

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

2 participants