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
Fixes an issue with AZ::Interface<T>::Get() (o3de#11176)
- When static AZ::Names were getting the NameDictionary interface before
the interface static had been initialized, it cause future calls to
Get() to go into the fast read path and return nullptr.
- Protect the AZ::EnvironmentVariable<T*> static by wrapping it in an
accessor function. This helps ensure that the static environment
variable is initialized/constructed once on first access.
Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
AZ_Assert(false, "Interface '%s' is not the same instance that was registered! [Expected '%p', Found '%p']", AzTypeInfo<T>::Name(), type, s_instance.Get());
158
+
AZ_Assert(false, "Interface '%s' is not the same instance that was registered! [Expected '%p', Found '%p']",
0 commit comments