Open janvacek opened 6 months ago
Hi,
whenever I enter play mode and any of my script is trying to call something from singletons, whole unity crashes without any error log.
Is there any limitations which I would need to know before using these singletons scripts?
it was because of recursion - https://github.com/UnityCommunity/UnitySingleton/blob/main/Assets/Scripts/Runtime/Singleton.cs#L47
Hi,
whenever I enter play mode and any of my script is trying to call something from singletons, whole unity crashes without any error log.
Is there any limitations which I would need to know before using these singletons scripts?