You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue description:
I made a new project to test out classes (since somehow i had no idea classes were a thing in godot up until this point). I made a new class and made an array of that type of class in a script and ran a for loop to display parameters of the class which worked fine. But i got an error saying that i loaded the class but never used it, when i clearly did use it.
image: https://imgur.com/a/LalbAsM
Also, when looking to see if this was already an issue i found this: #23207 but i wasn't sure if it was the same problem or not, especially since people said that the error was supposed to be there, when in this case it's clearly not.
I think this is a problem any time you use the classes in an array or dictionary, but i'm not sure cause iv'e honestly not used them enough yet.
Steps to reproduce:
Create a new project
Create a new script class
Create a new scene with a script with a variable that loads the class
Create an array in _ready() with elements being new versions of that class
Godot version:
Godot 3.1 beta 1
OS/device including version:
Windows 10
Issue description:
I made a new project to test out classes (since somehow i had no idea classes were a thing in godot up until this point). I made a new class and made an array of that type of class in a script and ran a for loop to display parameters of the class which worked fine. But i got an error saying that i loaded the class but never used it, when i clearly did use it.
image: https://imgur.com/a/LalbAsM
Also, when looking to see if this was already an issue i found this: #23207 but i wasn't sure if it was the same problem or not, especially since people said that the error was supposed to be there, when in this case it's clearly not.
I think this is a problem any time you use the classes in an array or dictionary, but i'm not sure cause iv'e honestly not used them enough yet.
Steps to reproduce:
Create a new project
Create a new script class
Create a new scene with a script with a variable that loads the class
Create an array in _ready() with elements being new versions of that class
Minimal reproduction project:
classes testing.zip
The text was updated successfully, but these errors were encountered: