Closed
Description
Self setup is currently stuck in an infinite loop:
- The Setup runs
- it logs something via ModLoaderUtils (or uses another util method, when logs are removed)
- ModLoaderUtils requires info from ModLoaderStore
- ModLoaderStore is not set up yet
- => script compilation error, setup fails
Problems:
- Since it's a compilation error, we can't just not use the autoload in a few methods and keep them in others that aren't used in the setup
- we also can't get the autoload via get_node("/root/..."), since the Utils a) aren't in the tree and b) can't use it since all methods are static and get_node is non-static
Possible solutions
- Create a different utils class without store just for setup? not clean
- same as option before, but move them into the setup?
- remove ModLoaderStore from the utils again? loses a lot of functionality