thehousemd
Topic Author
Posts: 4
Joined: 26 Nov 2014, 06:22

Crash when trying to Play the sample Button Scene

02 Jan 2021, 20:28

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.
Editor.log.zip
(9.73 KiB) Downloaded 64 times
Has anyone ever seen something like this before?

Thank you.

Tags:
 
User avatar
jsantos
Site Admin
Posts: 3138
Joined: 20 Jan 2012, 17:18
Contact:

Re: Crash when trying to Play the sample Button Scene

03 Jan 2021, 15:40

This is probably same as #1851. We already fixed it for 3.0.9 (release planned for next week).
 
thehousemd
Topic Author
Posts: 4
Joined: 26 Nov 2014, 06:22

Re: Crash when trying to Play the sample Button Scene

03 Jan 2021, 22:24

Got it, thank you!
 
peterh
Posts: 34
Joined: 13 Mar 2015, 13:50

Re: Crash when trying to Play the sample Button Scene

11 Jan 2021, 14:06

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.
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 
 
peterh
Posts: 34
Joined: 13 Mar 2015, 13:50

Re: Crash when trying to Play the sample Button Scene

11 Jan 2021, 14:45

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.
 
User avatar
jsantos
Site Admin
Posts: 3138
Joined: 20 Jan 2012, 17:18
Contact:

Re: Crash when trying to Play the sample Button Scene

11 Jan 2021, 20:20

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.
 
peterh
Posts: 34
Joined: 13 Mar 2015, 13:50

Re: Crash when trying to Play the sample Button Scene

15 Jan 2021, 10:46

After upgrading to the latest 2020.1 the .dylib is loaded correctly, but we still get the error messages about
13:39:47  Fallback handler could not load library [...]libNoesis
when running Unity with -batchmode
 
User avatar
jsantos
Site Admin
Posts: 3138
Joined: 20 Jan 2012, 17:18
Contact:

Re: Crash when trying to Play the sample Button Scene

15 Jan 2021, 13:42

Are you also getting 'DllNotFoundException: Noesis'?
 
aresundnes
Posts: 1
Joined: 18 May 2021, 12:09

Re: Crash when trying to Play the sample Button Scene

25 May 2021, 10:24

This is still happening in Noesis 3.0.12 in Editor in Unity 2019 and 2020 on Mac. The error message keeps spamming the logs.
However, it seems to only happen in Editor and not in builds.

Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle.dylib
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle.so
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle.dylib
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle.so
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle.dylib
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle.so
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle.dylib
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle.so
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle.dylib
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle.so
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle.dylib
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle.so
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle.dylib
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle.so
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle.dylib
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle.so
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle
Fallback handler could not load library /Applications/Unity/Hub/Editor/2020.3.8f1/Unity.app/Contents/Frameworks/Mono/lib/libAssets/NoesisGUI/Plugins/Libraries/MacOS/Noesis.bundle
 
User avatar
jsantos
Site Admin
Posts: 3138
Joined: 20 Jan 2012, 17:18
Contact:

Re: Crash when trying to Play the sample Button Scene

25 May 2021, 12:47

#1851 fixed the crash. I think those messages can be ignored as Unity is extremely verbose about that but I will analyze this again as soon as possible.

Who is online

Users browsing this forum: Google [Bot] and 1 guest