Cooking failure when using weak_map and construction script

Both of your solutions would force me into hard referencing all those objects somewhere, which is prone to errors and is probably a bad practice, what I want to do is simply implement an Init() method on those objects that would ALWAYS be called when game starts

I want to add that this is not the first time I’m hitting this specific roadblock while trying to achieve a tiny bit complex structures, I’m sure I’m not the only one @Flak

Here’s the fix I made which is the ugliest thing you can ever do, this shouldn’t be how we manage that issue, and I’m pretty sure it would not work on public matches, which means I’d need to also add a layer on top of it to make it work

Being able to access the session state or whatever it’s called (editor/edit mode/play…) at construction time would probably provide a cleaner solution already

Also hopefully SG fixes that and that’s why Epic answer was negative

Thanks for your time everybody