diff --git a/Gems/PhysXDebug/Code/Source/SystemComponent.cpp b/Gems/PhysXDebug/Code/Source/SystemComponent.cpp index 53de88192d..0d26d1cbc0 100644 --- a/Gems/PhysXDebug/Code/Source/SystemComponent.cpp +++ b/Gems/PhysXDebug/Code/Source/SystemComponent.cpp @@ -213,6 +213,9 @@ namespace PhysXDebug void SystemComponent::GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required) { required.push_back(AZ_CRC("PhysXService")); +#ifdef PHYSXDEBUG_GEM_EDITOR + required.push_back(AZ_CRC("PhysXEditorService")); +#endif // PHYSXDEBUG_GEM_EDITOR } void SystemComponent::GetDependentServices(AZ::ComponentDescriptor::DependencyArrayType& dependent)