Unity’s intergration crashes on startup if the Fmod .dlls are included in the project. Stack frames are as follows:
Obtained 22 stack frames.
#0 0x007ff7a57eb3c0 in funlockfile
#1 0x007ff7ad6f7a80 in _dl_rtld_di_serinfo
#2 0x007ff7ad6fff5c in _dl_find_dso_for_object
#3 0x007ff7a5747728 in _dl_catch_exception
#4 0x007ff7ad6ff5fa in _dl_find_dso_for_object
#5 0x007ff7a6edb34c in (Unknown)
#6 0x007ff7a5747728 in _dl_catch_exception
#7 0x007ff7a57477f3 in _dl_catch_error
#8 0x007ff7a6edbb59 in dlerror
#9 0x007ff7a6edb3da in dlopen
#10 0x0056525567a98a in LoadPluginExecutable(char const*, bool)
#11 0x0056525567c252 in FindAndLoadUnityPlugin(char const*, void**, bool)
#12 0x007ff63c2171de in mono_lookup_pinvoke_call
#13 0x007ff63c22a59b in mono_marshal_string_to_utf16
#14 0x007ff63c0eb4c2 in mono_set_break_policy
#15 0x007ff63c0d0254 in _init
#16 0x007ff63c0d1ccc in _init
#17 0x007ff63c0d59c2 in mono_print_method_from_ip
#18 0x007ff63c155542 in mono_print_thread_dump_from_ctx
#19 0x007ff63c155871 in mono_print_thread_dump_from_ctx
#20 0x00000040573393 in (Unknown)
#21 0x00000041b62728 in FMODUnity.EditorUtils:Update ()
Thanks for letting us know about this. Unfortunately I have been unable to reproduce the issue here. Can you share any more information to help us resolve it?
- What Linux distribution are you using?
- What version of FMOD are you using?
- Do you have libfmodstudio.so and libfmodstudioL.so in the Assets/Plugins/FMOD/lib/linux/x86_64/ folder?
I believe it is 2.01.00.
Thanks for the additional information. I have just tested with FMOD 2.01 on Regolith Linux, and unfortunately I am still unable to reproduce the issue. Do you have any other plugins installed? Does this issue occur in a new project with nothing but FMOD for Unity installed?
Yes an empty Unity project crashes on my system, no packages no assets, but the imported FMOD causes a crash on import, and then cannot open the project. If you could provide your
apt list --installed that could aid in finding a package I could possibly be lacking. Aside from missing possilbe packages I’m at a loss why this happens.
apt list --installed output is at https://pastebin.com/LFaY4g2B .
I tested both in a VM and on a live disk, both worked but once I reinstalled my distro it did not. So it does seem my system is causing some incompatibillity.
Is there anything useful in the editor log? Log file locations are documented at https://docs.unity3d.com/Manual/LogFiles.html.