Skip to content
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

nested Packed Arrays serialize as a generic Array once a value inside is edited #76113

Closed
ajreckof opened this issue Apr 16, 2023 · 0 comments · Fixed by #76114
Closed

nested Packed Arrays serialize as a generic Array once a value inside is edited #76113

ajreckof opened this issue Apr 16, 2023 · 0 comments · Fixed by #76114
Milestone

Comments

@ajreckof
Copy link
Member

Godot version

4.1.dev (a7276f1)

System information

MacOS 13.3 M1 Pro

Issue description

This issue was found by @don-tnowe while testing #76078
When nesting a Packed Array in an Array or a Dictionary and then updating one of the element of the Packed array, the packed Array will be recasted to an untyped Array.

Steps to reproduce

  1. export an Array or dictionary
  2. create an item in your Array/Dictionary with a PackedArray setup
  3. add an item to the PackedArray and modify it
  4. refresh the EditorProprety of your Array/Dict by closing it and reopening it
  5. see that now your PackedArray is an Array

Minimal reproduction project

N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants