Skip to content
This repository has been archived by the owner on Oct 19, 2020. It is now read-only.

Hotreload on Mac (Mono) is broken #78

Open
pixeltris opened this issue May 1, 2019 · 1 comment
Open

Hotreload on Mac (Mono) is broken #78

pixeltris opened this issue May 1, 2019 · 1 comment

Comments

@pixeltris
Copy link
Owner

Hotreload works by using FileSystemWatcher to watch for changes made to the C# game dll. Mono uses a libmono-native-compat.dylib to implement some of this functionality. Currently it crashes when trying to load the dylib (fails to find a symbol in the dyld_stub_binder call?). This is possibly due to a bad configuration of the embedded Mono. I have had this issue previously but it looks like the .dylib files have possibly been shuffled around so I'm no longer sure what the solution is.

For now use .NET Core if you want to hotreload. Or hotreload manually using the USharpRuntime reload command in the UE4 command box.

@pixeltris
Copy link
Owner Author

This is probably somewhat related to mono/mono#12557. If the dylib isn't found at all the Method has no body error is shown. If it is found the crash occurs. The dylib is possibly out of date? Or corrupt?

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

No branches or pull requests

1 participant