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
If a script exports an Array[Node], its contents will be lost if the script has an error and the scene file is reloaded in the editor.
This can also happen when using external editor to write the script, but is likely the same issue.
I also tried the same with float and Array[int], but everything gets remembered properly in these cases.
Tested versions
Reproduced in 4.3-stable
System information
Godot v4.3.stable - Windows 10.0.19044 - GLES3 (Compatibility) - NVIDIA GeForce RTX 2080 (NVIDIA; 32.0.15.5585) - Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz (12 Threads)
Issue description
If a script exports an
Array[Node]
, its contents will be lost if the script has an error and the scene file is reloaded in the editor.This can also happen when using external editor to write the script, but is likely the same issue.
I also tried the same with
float
andArray[int]
, but everything gets remembered properly in these cases.24-09-08_17-04-01_Godot_v4.3-stable_win64_Fritillarybutterfly.mp4
Steps to reproduce
If you download the MRP, you can skip step 1 and 2.
@export var breaks: Array[Node] = []
in it.func
to the end of the file) and save.Minimal reproduction project (MRP)
node-array-scene-restore.zip
The text was updated successfully, but these errors were encountered: