Unity-IFCEngine icon indicating copy to clipboard operation
Unity-IFCEngine copied to clipboard

Crashe while running on Unity 2019

Open Llhai opened this issue 2 years ago • 6 comments

Thanks for your talent work! It works perfectly on unity 2018, But but when I use Unity2019.4.23, the editor crashes.

The crashed code is bool result = util.ParseIFCFile(file);

So. Can you help me to solve the problem, Thank you!

Llhai avatar Jul 08 '21 03:07 Llhai

Can you post a full crash log? The crash in this line only means something went wrong with the parser module. Maybe try to switch the API compatibility level in File -> Build Settings -> Player Settings -> Configuration

Unfortunately, I don't have a Windows system to test this anymore.

helpsterTee avatar Jul 12 '21 06:07 helpsterTee

Editor.log error.log There are crash logs. I tried th switch the API compatibility, but still carsh. Thank you for your patience

Llhai avatar Jul 12 '21 06:07 Llhai

Why did you close the issue? Did you resolve it yourself or just pressed the wrong button?

helpsterTee avatar Jul 12 '21 06:07 helpsterTee

Why did you close the issue? Did you resolve it yourself or just pressed the wrong button?

SORRY!!!, I just pressed the wrong button

Llhai avatar Jul 12 '21 06:07 Llhai

No problem.

IFCEngine is crashing when trying to load the IFC version in the IFC file to determine which schema to use. This kind of error usually happens when something on the filesystem is not found or the file is invalid.

My wild guess is that it has something to do with asset handling (I think asset bundles changed from 2018 to 2019.4) and the necessary files (IFC2X3_TC1.exp) aren't there when the engine tries to load them. You could try creating a 2018 project and then opening and converting that in 2019.4, which should default to the asset pipeline v1, instead of using the asset pipeline v2.

I'm working on an alternative that should be platform-independent, instead of only compatible with Windows, but the progress is rather slow atm, sorry :disappointed:

helpsterTee avatar Jul 12 '21 07:07 helpsterTee

I tried to create a 2018 project and opening it in 2019, using the asset pipeline v1, but still crashed. Looking for your new excellent work!!

Llhai avatar Jul 12 '21 08:07 Llhai