gdUnit3
gdUnit3 copied to clipboard
Common class names cause naming collisions
The used Godot version:
3.5 stable.
Describe the bug
gdUnit3 classes with common class_name
s cause naming collisions with users' code.
Loading GdUnit3 Plugin success
res://src/Fonts.gd:1 - Parse Error: Unique global class "Fonts" already exists at path: res://addons/gdUnit3/src/ui/Fonts.gd
Steps to Reproduce
- Create a script with
class_name Fonts
. - Install gdUnit3.
I suggest prepending GdUnit
to all class names to avoid collisions. Many classes have this prefix already.