-
Notifications
You must be signed in to change notification settings - Fork 100
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
Failed to initialize REPL environment #68
Comments
Yes, the class in the error is specifically to fix accessibility issues like the one you've got. |
Due to the issue we're having with Railroaders, I moved Mono.* MonoMod.* to Railroader_Data\Managed. That removed the error during REPL init regarding SkipVisibilityExt but surprisingly continues to complain about the inconsistent accessibility. If we can sort out why the .dll's aren't being resolved, I suspect this issue will fix itself. Edit: can confirm if I copy all .dll's to Managed (Mono.*, MonoMod.*, RuntimeUnityEditor.Core.dll), REPL works fine. |
I have no idea what makes this tick, but I moved to a new PC and: is back, but without the exception being thrown as mentioned in my first post. Placed all dlls in the Managed folder, same as before, but it still doesn't work.
|
Did you try making |
Isn't it already?
|
Oh, that's right, no idea then. I don't think OS has any effect on it, the game must be set up differently. |
In 5.3 UMM flavor there is both a RuntimeUnityEditor.UMM.dll and a RuntimeUnityEditor.Core.dll. From dnSpy, the UMM dll:
From the .Core.dll:
Edit: I deleted the |
So this commit can be safely reverted now? 55252e7 |
Getting the following issue in Railroader:
[RuntimeUnityEditor] [Warning] Failed to initialize REPL environment - The type initializer for 'Mono.CSharp.SkipVisibilityExt' threw an exception.
Seems https://github.com/5rog/Explorer has the same issue with mcs and commented out the constructor. I tried commented it out, REPL loads but then I get:
error CS0060: Inconsistent accessibility: base class
RuntimeUnityEditor.Core.REPL.REPL' is less accessible than class
<InteractiveExpressionClass 4>'Unsure if the two are related.
The text was updated successfully, but these errors were encountered: