We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4eee4d5 commit 0939af1Copy full SHA for 0939af1
Foundation/Public/Aurora.Scene/Service.cpp
@@ -246,7 +246,7 @@ namespace Scene
246
Second = Component;
247
}
248
249
- ConstPtr<Factory> Serializer = Second.Find<const Factory>();
+ ConstPtr<Factory> Serializer = Second.IsValid() ? Second.Find<const Factory>() : nullptr;
250
251
if (Serializer && (First.IsNull() || First.Contains<Factory>()))
252
{
0 commit comments