-
-
Notifications
You must be signed in to change notification settings - Fork 18
Unity 6 Editor crash on play in Linux #68
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
Comments
Hey @alansley, thanks for the report. |
Hi! I replaced the The call to: Results in:
And that's as much as it seems to know before it falls over and launches the Unity crash reporter. I did delete the Unity project's Library and obj folders in-case it was caching an older version of the lib, but it didn't change the level of debug output. I then put a breakpoint on the DB connection line and stepped it through into I then ran it again and tried to step into the SQLite3.Open call - and it crashed again, so it looks like that's about as far as I can go there. What's weird though is that if I build and run it rather than hitting play in the editor then it works without issue & I get console output from
I've attached the full |
Oh, and I also gave the project a go in Unity 2022.3.55f1 just in case it was a Unity 6 thing, but same issue unfortunately. |
Hey, I've run in to the same issue today myself using Arch Linux on Unity 6. All test done using IL2CPP not Mono. Tried unity-sqlite-net version 1.0.0, 1.2.0 and 1.2.3 all same issue Tried switching between .Net Standard 2.1 and .Net Framework same issue |
Thanks for the additional information both of you. These logs don't show much indeed. So you get a SEGFAULT in the call to SQLite3.Open, that already helps. I'll try reproducing it in a Linux machine later and see what I can find. I'll be testing with the "SQLite REPL" sample scene that's bundled with this package. Will let you know. |
Hi there!
When using your unity-sqlite-net library in Linux I'm seeing it crash the Unity editor on play (v6000.1.1f1). I've tried the exact same simple code in Windows and it doesn't crash the editor, and I've found the creating a standalone build of the Linux test project also doesn't cause any crashes - it can query a simple DB and print a record just fine.
I tried rebuilding
libgilzoide-sqlite-net.so
locally via the makefile and still got the crash, then I tried creating a debug version to see if I could getgdb
orvalgrind
to give me any useful info (there's nothing that seems to stand out inEditor.log
) but I couldn't get it to give me anything useful - which might be a skill issue on my side, unfortunately. As the standalone version works finePlayer.log
has nothing of interest to report.Any thoughts you might have to help resolve this would be greatly appreciated! Thanks!
The text was updated successfully, but these errors were encountered: