-
-
Notifications
You must be signed in to change notification settings - Fork 20.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alpha 5 regression: Custom class typed array is broken. #59485
Labels
Milestone
Comments
Don't know what changed, but this is fixed in Alpha 6. |
Sorry, my mistake, it wasn't fixed, I just opened the wrong version of the reproduction project with bits commented out. |
Two findings on further inspecting the bug:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Godot version
v4.0.alpha5.official [d7d528c]
System information
Windows 10
Issue description
When a function returning
Array[CustomClass]
to a variable expectingArray[CustomClass]
, the following error occurs:'Trying to return a typed array with an array of different type.'
This worked fine on alpha 4. If you push past the breakpoint at the error, nothing is assigned to the variable.
Steps to reproduce
with a custom class, e.g.:
Minimal reproduction project
CustomTypedArrayBug.zip
The text was updated successfully, but these errors were encountered: