willnationsdev / godot-inheritance-dock

A Godot Engine plugin for a dock that provides inheritance-based Scene/Script/Resource views into the resource folder.
MIT License
48 stars 3 forks source link

Project won't open. Compatibility Issue! #17

Open BigDC opened 6 years ago

BigDC commented 6 years ago

I was working on my project, when it just crashed, (too many other apps opened also). It would not reopen. I was able to track the problem to a GDSQLLite directory, "lib". Remove the "lib" directory from the project it will open, add the "lib" back and it will crash Godot and my project and not open.

Now here is where it gets really strange. I can drag that "lib" directory into any of my other projects and thay all open fine, put it back in the first project and it crashes Godot and will not open my project. I have no code written anywhere in my project that tries to load gdsqlite or use any of its functions. All I did was add the "lib" directory into my project, no code for it was written yet, nothing else.

Recap... As I have said before, add the "lib" dir and Godot will crash and my project not open, remove the "lib" and Godot and my project opens fine. Drag the "lib" into any other Godot project and all other projects open fine.

I want to use GDSQLite in this project, it works in any other project of mine. Please help?

BigDC commented 6 years ago

Ok, I have tracked down the problem much firther. I use an addon from Godot's asset store called, " Godot Inheritance Dock" here is the link>>>>>>> https://godotengine.org/asset-library/asset/108

I removed things from my project one at a time, and retried the project. It only works with GDSQLite when I completely remove the "Godot Inheritance Dock" plugin. Their is definitely some compatibility issues between GDSQLite and "Godot Inheritance Dock". Remove either one and the project starts just fine, but have both in the project and it crashes. It is a compatibility issue between the two

I am posting this on their issue tracker so maybe both of you can work together to make these two work together.

willnationsdev commented 6 years ago

Interesting...this may have something to do with the way Inheritance Dock parses through the res:// directory's contents. Maybe something it tinkers with in the GDSQLLite stuff is causing a critical failure.

willnationsdev commented 6 years ago

One easy-ish way to solve this, at least temporarily, would be to manually filter the GDSQLLite directory from the Inheritance Dock's search.

I'll admit though, this repository is in dire need of updating as new features in Godot have been added since this plugin's release that could simplify its design considerably.

willnationsdev commented 6 years ago

As someone else on Reddit mentioned though, you should run Godot on the command line and see what errors are produced to give us a better idea of what's going on.