-
- thehousemd
- Posts: 4
- Joined:
Crash when trying to Play the sample Button Scene
Hello,
Trying out NoesisGUI and ran into this issue:
Environment:
MacBookPro16,1
MacOS Big Sur
1. Load this project with 2019.4.15f1:
2. Open the Noesis sample Button scene.
3. Press "Play"
Expected: Sample scene will play
Actual: Unity freezes up, and then closes itself. Attached are the logs.
Most suspect to me are these lines, which are repeated many times
```
Fallback handler could not load library /Applications/Unity/Hub/Editor/2019.4.15f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.dylib
Fallback handler could not load library /Applications/Unity/Hub/Editor/2019.4.15f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.dylib.so
Fallback handler could not load library /Applications/Unity/Hub/Editor/2019.4.15f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.dylib.bundle
```
That is not a valid path on my machine.
Has anyone ever seen something like this before?
Thank you.
Trying out NoesisGUI and ran into this issue:
Environment:
MacBookPro16,1
MacOS Big Sur
1. Load this project with 2019.4.15f1:
2. Open the Noesis sample Button scene.
3. Press "Play"
Expected: Sample scene will play
Actual: Unity freezes up, and then closes itself. Attached are the logs.
Most suspect to me are these lines, which are repeated many times
```
Fallback handler could not load library /Applications/Unity/Hub/Editor/2019.4.15f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.dylib
Fallback handler could not load library /Applications/Unity/Hub/Editor/2019.4.15f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.dylib.so
Fallback handler could not load library /Applications/Unity/Hub/Editor/2019.4.15f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.dylib.bundle
```
That is not a valid path on my machine.
Has anyone ever seen something like this before?
Thank you.
Re: Crash when trying to Play the sample Button Scene
This is probably same as #1851. We already fixed it for 3.0.9 (release planned for next week).
-
- thehousemd
- Posts: 4
- Joined:
Re: Crash when trying to Play the sample Button Scene
Got it, thank you!
Re: Crash when trying to Play the sample Button Scene
We are having similar issues when building the project on our macs. I tried using the .dylib you share in the issue mentioned above, but it doesn't solve the issue.
When googling the issue, it looks like Unity has had problems finding .dylibs in the past.
When googling the issue, it looks like Unity has had problems finding .dylibs in the past.
Code: Select all
13:39:47 Fallback handler could not load library /Applications/Unity/Hub/Editor/2019.1.8f1/Unity.app/Contents/Frameworks/Mono/lib/libNoesis
13:39:47 DllNotFoundException: Noesis
13:39:47 at (wrapper managed-to-native) NoesisUnity.Noesis_SetLicense(string,string)
13:39:47 at NoesisUnity.SetLicense (System.String name, System.String key) [0x00001] in /Users/jenkins01/jenkins/workspace/XT_Build/Assets/NoesisGUI/Plugins/NoesisUnity.cs:44
13:39:47 at NoesisSettings.Get () [0x000ea] in /Users/jenkins01/jenkins/workspace/XT_Build/Assets/NoesisGUI/Plugins/NoesisSettings.cs:74
13:39:47 at NoesisPostprocessor.Log (System.String message) [0x00001] in /Users/jenkins01/jenkins/workspace/XT_Build/Assets/NoesisGUI/Plugins/Editor/NoesisPostprocessor.cs:460
13:39:47 at NoesisPostprocessor.ImportAssets (System.String[] assets, System.Boolean reload, NoesisPostprocessor+UpdateProgress d) [0x0005d] in /Users/jenkins01/jenkins/workspace/XT_Build/Assets/NoesisGUI/Plugins/Editor/NoesisPostprocessor.cs:39
13:39:47 at NoesisPostprocessor.ImportAllAssets (NoesisPostprocessor+UpdateProgress d) [0x0005e] in /Users/jenkins01/jenkins/workspace/XT_Build/Assets/NoesisGUI/Plugins/Editor/NoesisPostprocessor.cs:28
13:39:47 at NoesisPostprocessor.ImportAllAssets () [0x00001] in /Users/jenkins01/jenkins/workspace/XT_Build/Assets/NoesisGUI/Plugins/Editor/NoesisPostprocessor.cs:15
Re: Crash when trying to Play the sample Button Scene
Update: our problem seems to be that Unity 2019.1 doesn't identify .dylibs as libraries. A temporary workaround is to simply change the filename to .bundle.
We will be updating to the latest Unity 2020 soon. Will return to this thread with an update when we've tried this.
We will be updating to the latest Unity 2020 soon. Will return to this thread with an update when we've tried this.
Re: Crash when trying to Play the sample Button Scene
Thanks for the update. We have two things here, one is the crash in MacBooks Pro with Radeon GPU (fixed on 3.0.9) and the other one is something we probably have wrong. Our minimal version of Unity for NoesisGUI 3.0 is Unity 2018 LTS but it seems the support for .dylib was added in a later version. I need to check that, we switched from .bundle to .dylib to avoid issues when signing and notarizing the application created by our clients.
Re: Crash when trying to Play the sample Button Scene
After upgrading to the latest 2020.1 the .dylib is loaded correctly, but we still get the error messages about
when running Unity with -batchmode
Code: Select all
13:39:47 Fallback handler could not load library [...]libNoesis
Re: Crash when trying to Play the sample Button Scene
Are you also getting 'DllNotFoundException: Noesis'?
Who is online
Users browsing this forum: MiBa and 0 guests