CSharpRedotTools / Template

A template used for quickly setting up new Redot 4 C# games.
MIT License
111 stars 8 forks source link

Services are not re-registered when a scene is restarted or loaded again #120

Closed valkyrienyanko closed 4 days ago

valkyrienyanko commented 5 days ago

Currently scenes only register once on startup and are removed on scene change. This needs to be changed so they re-register when a new scene is loaded.

valkyrienyanko commented 5 days ago

This issue has been resolved in the Redot game jam I'm working on. I will port over the fix to this repo after the jam.

P.S. I will also remove all application lifetime services so only scene lifetime services exist. Scripts that use to be application life time services will become static classes.

P.S. There are also many other fixes incoming. 😄 👍