-
-
Notifications
You must be signed in to change notification settings - Fork 51
Add build target BIE5_Mono21 to support Unity 6000.3.x #83
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
base: master
Are you sure you want to change the base?
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
|
I question whether this fix, which adds more support for the deprecated BIE5 and has UE absorb Mono's decompilation issues, is worthwhile. |
I don't understand. The new DLLs are in a new separate folder. Do you want me to not duplicate the bepinex and mcs dlls?
BIE6 is not even ready. BIE5 works.
Nothing wrong with Mono or decompilation. Unity 6000.3 changed internal data structures. It also offers auto-conversions which are picked up by the compiler just fine. UE has to be recompiled in this new environment to bind and work correcly. |
That's right.
I don't think so. I'm modding on BIE6 and haven't encountered any issues whatsoever.
If that's true, shouldn't we change everything, including Il2Cpp and so on? I don't think it should be limited to a BIE5-specific fix. I'd also like to ask why the build target is |
|
Done deduplicating. BIE6 is in pre-release for over a year now. If I send people to download BepInEx, they see BIE5 first.
Probably, but I don't have the know-how or means to verify it worked.
UnityEngine dll depends on NetStandard 2.1 for some time now. There is probably some DLL forwarding going on in the deployed runtime so that if you compiled against the older DLL targeting public API, that still works today without recompilation. |
|
What I question about this fix is whether it's worth the cost solely to keep BIE5 UE running in Unity v6.3(Currently, it's just one game).
I understand that, but why change to Considering all these factors, it's no exaggeration to say that Unity v6.3 + BIE5 + UE is beyond my support capabilities. |
|
Before merging this PR, I'd like you to test whether it works properly in BIE6. |
|
Getting a working version via the fork is okay for us modding this particular single game. I leave it up to you how you'd want to handle the pre 6000.3 and post 6000.3 binary incompatibility in this repo. |
Unity 6000.3.x changed things around so that the existing UnityExplorer binary could not get bound to stuff.
No code changes required, only a rebuild with the newest Unity DLLs.
Includes the necessary DLLs, three of which was unlocked via
BepInEx.AssemblyPublicizer.I'm on Windows so no idea how the referenced
UniverseLibdirectory is supposed to work.I compiled it and seems to work in the latest The Planet Crafter build.
Resolves #81