sdslabs / Rootex

An advanced C++ 3D game engine powering an in-production game yet to be announced
https://rootex.readthedocs.io/
Other
214 stars 36 forks source link

Effekseer crashes on using *.efkproj files. #556

Open r41k0u opened 2 years ago

r41k0u commented 2 years ago

When an *.efkproj file is loaded in the ParticleEffectComponent of a scene, an exception is thrown on Line 370 of Effekseer.Effect.cpp Effects used : https://effekseer.github.io/contributes/Effekseer01.zip

twaritwaikar commented 2 years ago

Have you tried using .efkefc files instead? I think .efkproj files are just meant for the Effekseer editor and not for in-game use. The Effekseer editor can export effects into .efkefc files.

r41k0u commented 2 years ago

The .efkefc files are working fine. But when the loader icon is clicked, it checks for .efkefc, .efk, .efkproj files (and some more extensions). This might mislead users into thinking that *.efkproj would also work

twaritwaikar commented 2 years ago

Then probably the resolution here is to just remove *.efkproj from the supported file formats in the ResourceLoader, or anywhere else where it is referenced.