You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use Rich Presence in an OnDisable() to clear a text when a scene is unloaded. For a reason I cannot figure out, this causes SteamManager to throw the error for double initialization.
a) Am I safe to just comment out that error? I considered it a warning for bad coding style but I followed the recommendation there, which
b) might be outdated, as only using OnDisable() seems to no longer be sufficient.
This is in Unity 2021.3.39f1. SteamManager creates its GameObject and Component itself in the scene in question. I use the Enter Play Mode options with both reloads turned off.
The text was updated successfully, but these errors were encountered:
I use Rich Presence in an
OnDisable()
to clear a text when a scene is unloaded. For a reason I cannot figure out, this causes SteamManager to throw the error for double initialization.a) Am I safe to just comment out that error? I considered it a warning for bad coding style but I followed the recommendation there, which
b) might be outdated, as only using
OnDisable()
seems to no longer be sufficient.This is in Unity 2021.3.39f1. SteamManager creates its GameObject and Component itself in the scene in question. I use the Enter Play Mode options with both reloads turned off.
The text was updated successfully, but these errors were encountered: