ProwlEngine / Prowl

An Open Source C# 3D Game Engine under MIT license, inspired by Unity and featuring a complete editor
MIT License
451 stars 38 forks source link

Linux Editor can't open scene #185

Open ArtemkaKun opened 1 month ago

ArtemkaKun commented 1 month ago

Describe the bug I'm on dev branch. I'm on Arch Linux, using .NET 8. I can build Editor without an error. I can start the Editor and create and run a new project. The problem is when I try to open the newly created project - it loading stuff and then exists with error. The last things I see in the console are:

Attempting to Import Defaults/Grid.shader!

Process finished with exit code 139.

To Reproduce

  1. Switch to development branch.
  2. Build and start the Editor.
  3. Create a new project.
  4. Try to open the project.

Expected behavior The Editor opens and shows me a scene and other normal stuff.

michaelsakharov commented 1 month ago

@sinnwrig Can you reproduce this? It seems to be fine for me on windows.

sinnwrig commented 1 month ago

This seems like it's a problem with some native compiler libraries. I'd need more info on the device specs to be sure, as ARM binaries are untested and might give you some trouble. Your glibc version might also be incompatible, but I can't verify what version I compiled the binaries with at the moment. If you'd like, you can try your hand at compiling our SPIRV-Cross binaries and DXC binaries on your system and replacing the corresponding libraries for your respective system under the runtimes folder in your build output.

sinnwrig commented 1 month ago

@ArtemkaKun This issue should be fixed in latest branch of development, but I will leave it open in case it isn't. There are still some known problems with Assimp which might cause the editor to repeatedly throw exceptions, but if you can confirm that the editor launches on Arch this issue should be fixed.

ArtemkaKun commented 1 month ago

Thanks for your work, but I have no time right now to test the fix

sinnwrig commented 1 month ago

No pressure! I'll leave this issue open for the meantime.