godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
91.51k stars 21.26k forks source link

Instanced scenes gets overwritten to null randomly on open scene tabs #99749

Open Muini opened 4 days ago

Muini commented 4 days ago

Tested versions

4.3.stable Mono

System information

MacOS - M1 Pro - 4.3.stable - Mono (C#) - Vulkan (Forward+)

Issue description

Everyday, my opened scene in the editor are randomly overwrited - all their exported properties - with null. All connected signals are removed. Thankfully I have Git to catch these, but this is very concerning as any opened level or prefabs become completely broken.

Here's some of my git diff so you can see what's hapenning: Image Image

Any workarounds or ideas why this might happen is welcome - I'm desperate.

Steps to reproduce

Unfortunately, I have no idea how to reproduce it, I'm sorry.

This issue wasn’t happening a few weeks ago. The project got bigger, so it could be either a scale issue, or related to a tool script I added that instantiate scene along a Path3D. Aside from that, nothing has changed.

Minimal reproduction project (MRP)

Sorry, I can't reproduce.

SkanerSoft commented 3 days ago

In my project, properties of any type are reset in the same way. Strings, numbers, anything can turn to null if this property was added to the class via @export.

This does not happen with standard properties.

Muini commented 3 days ago

@SkanerSoft Thank you, I edited my post, you're correct, this is the same, only exported properties. Have you found a way to reproduce consistanly by any chance ? Also what's your version, os and details, so it might help pin point the issue ?