diff --git a/FRBDK/Glue/GameCommunicationPlugin/GlueControl/Embedded/InstanceLogic.cs b/FRBDK/Glue/GameCommunicationPlugin/GlueControl/Embedded/InstanceLogic.cs index c3257778e..18c2ae56f 100644 --- a/FRBDK/Glue/GameCommunicationPlugin/GlueControl/Embedded/InstanceLogic.cs +++ b/FRBDK/Glue/GameCommunicationPlugin/GlueControl/Embedded/InstanceLogic.cs @@ -512,7 +512,7 @@ public PositionedObject CreateEntity(string entityNameGameType, int currentAddOb if (ScreenManager.IsInEditMode) { var entityType = this.GetType().Assembly.GetType(entityNameGameType); - var hasBeenLoadedProperty = entityType.GetProperty("HasBeenLoadedWithGlobalContentManager"); + var hasBeenLoadedProperty = entityType?.GetProperty("HasBeenLoadedWithGlobalContentManager"); if (hasBeenLoadedProperty != null) { var hasBeenLoaded = (bool)hasBeenLoadedProperty.GetValue(null);