Custom plugin crashing editor when launching editor with it enabled

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By DampMarshmallow

I’m currently developing a main screen plugin, and it works fine when I enable it while the editor is already open, but if I leave it enabled when I close the project, the editor crashes on startup the next time I try to open it. I have manually edit the project.godot to disable the plugin so I can open the editor.

The crash creates no logs and running the editor in the command line with --verbose didn’t show any error messages either, it just gets to the Loading resource: ... lines and stops.

It’s my first time making a plugin so I might be doing some funky stuff I maybe shouldn’t do like using subviewports and cameras but I wouldn’t know since the documentation on this isn’t very extensive.

Any help is appreciated!