blackears / cyclopsLevelBuilder

A Godot plugin to let you block in levels inside the Godot editor.
MIT License
1.04k stars 43 forks source link

Parser Error: Could not find type "SnappingSystemVertex" in the current scope. #159

Closed futursoup closed 5 months ago

futursoup commented 5 months ago

After loading the 1.03 addon into my project, and setting up the Autoload scene as prescribed, I hit an issue upon running a new scene that contains a CyclopsBlock node.

The error is within: res://addons/cyclops_level_builder/snapping/snapping_system_vertex_properties_editor.gd

error: Line 28:Could not find type "SnappingSystemVertex" in the current scope. Cyclops Error

EDIT 1 Godot Version: 4.2.1.stable.mono.official I started a completely new project and loaded the addon. Seems to work fine. This makes me think there is a conflict in my main project, perhaps I didn't upgrade from Cyclops 1.02 in the correct manner. I will continue testing.

EDIT 2 I ended up completely removing the Cyclops addon from my project and rebooting it. Godot threw an error for a missing material file, for which I swapped it for another material. I reloaded the addon and voilà!

closing the issue. I'll tread more carefully pending the next update to Cyclops Builder.

thanks for this tool by the way!! 🙏

blackears commented 5 months ago

Thanks. Sorry for the upgrade issues - I'm still learning what I am able to do with GDScript. What was the material? Was it part of Cyclops?

futursoup commented 5 months ago

Sorry, I didn't grab screenshot. I know it was a material from the Cyclops materials folder... I wanna say it was grid.tres

Pardon the lack of due diligence in reporting this. I'm still getting my sea legs with godot, git, etc. 🦜

blackears commented 5 months ago

Okay. Please open a new issue if it happens again.