From bdf0952902bb553c0fc5fa60856f1411e746305d Mon Sep 17 00:00:00 2001 From: axiomlogicnexus Date: Wed, 10 Jun 2026 18:07:35 +0000 Subject: [PATCH] Fix pre-existing UE 5.7 compilation errors - Add missing Engine/World.h include to HyperTwistClassicCubeActor.cpp - Replace NewObject(GetTransientPackage()) with NewObject() in 39 test files (UE 5.7 changed GetTransientPackage() return type from UObject* to UPackage*) --- .../HyperTwistSimulation/HyperTwistClassicCubeActor.cpp | 1 + .../HyperTwistClassicCubePhase6RRCorrectionContractTest.cpp | 2 +- ...tClassicCubePhase6RSCorrectionResolutionContractTest.cpp | 2 +- ...HyperTwistCoquiPhase6RARVoiceModelReviewContractTest.cpp | 4 ++-- ...HyperTwistCoquiPhase6RHAdvancedNarrationContractTest.cpp | 2 +- .../Tests/HyperTwistCubeDeskBound1TrainingTimerTest.cpp | 2 +- .../Tests/HyperTwistCubeDeskBound3SmartDeviceBridgeTest.cpp | 6 +++--- .../Tests/HyperTwistCubeDeskBound5SocialChallengeTest.cpp | 2 +- ...tFasterWhisperPhase6RAPServiceLaneTuningContractTest.cpp | 2 +- ...rTwistFasterWhisperPhase6RFOrchestrationContractTest.cpp | 2 +- ...HyperTwistHandyPhase6RAJDictationAdjunctContractTest.cpp | 2 +- ...HyperTwistHandyPhase6RAOHotkeyMuteDeviceContractTest.cpp | 2 +- ...yperTwistHandyPhase6RAULocalModelCatalogContractTest.cpp | 2 +- ...HyperTwistPiperPhase6RAQVoiceAssetReviewContractTest.cpp | 4 ++-- .../HyperTwistPiperPhase6RGLocalNarrationContractTest.cpp | 2 +- .../HyperTwistQbrPhase6RAKLocaleGuidanceContractTest.cpp | 2 +- ...HyperTwistQbrPhase6RANLocalePresentationContractTest.cpp | 2 +- .../HyperTwistQbrPhase6RASBundledFontReviewContractTest.cpp | 2 +- .../Tests/HyperTwistQbrPhase6RBCalibrationContractTest.cpp | 6 +++--- .../Tests/HyperTwistQbrPhase6ROWebcamShellContractTest.cpp | 6 +++--- ...ubixCubeSolverPhase6RATTwistyAssetReviewContractTest.cpp | 2 +- ...istRubixCubeSolverPhase6RCReconstructionContractTest.cpp | 2 +- ...TwistRubixCubeSolverPhase6RPBrowserShellContractTest.cpp | 2 +- ...tRubixCubeSolverPhase6RQSolveExplanationContractTest.cpp | 2 +- ...isperCppPhase6RAAUsageCostDashboardShellContractTest.cpp | 2 +- ...rCppPhase6RABUsageCostHistoryExportShellContractTest.cpp | 2 +- ...erCppPhase6RACProviderReceiptReviewShellContractTest.cpp | 2 +- ...pPhase6RADProviderBillingSettlementShellContractTest.cpp | 2 +- ...hase6RAEProviderSettlementExceptionShellContractTest.cpp | 2 +- ...sperCppPhase6RAFDevicePermissionWorkflowContractTest.cpp | 2 +- ...erCppPhase6RAGNativeCaptureRouteWorkflowContractTest.cpp | 2 +- ...isperCppPhase6RAHNativeCaptureRouteShellContractTest.cpp | 2 +- ...WhisperCppPhase6RAICustomEndpointRuntimeContractTest.cpp | 2 +- ...rTwistWhisperCppPhase6RESpeechTranscriptContractTest.cpp | 2 +- ...erTwistWhisperCppPhase6RUMicrophoneShellContractTest.cpp | 2 +- ...istWhisperCppPhase6RVPermissionReadinessContractTest.cpp | 2 +- ...istWhisperCppPhase6RWModelPayloadCustodyContractTest.cpp | 2 +- ...istWhisperCppPhase6RXProviderProfileByokContractTest.cpp | 2 +- ...tWhisperCppPhase6RYProviderRoutingPolicyContractTest.cpp | 2 +- ...istWhisperCppPhase6RZUsageCostEventModelContractTest.cpp | 2 +- 40 files changed, 48 insertions(+), 47 deletions(-) diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Private/HyperTwistSimulation/HyperTwistClassicCubeActor.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Private/HyperTwistSimulation/HyperTwistClassicCubeActor.cpp index 73a9d72..c9b63f7 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Private/HyperTwistSimulation/HyperTwistClassicCubeActor.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Private/HyperTwistSimulation/HyperTwistClassicCubeActor.cpp @@ -1,4 +1,5 @@ #include "HyperTwistSimulation/HyperTwistClassicCubeActor.h" +#include "Engine/World.h" AHyperTwistClassicCubeActor::AHyperTwistClassicCubeActor() { diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistClassicCubePhase6RRCorrectionContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistClassicCubePhase6RRCorrectionContractTest.cpp index ce59d9c..72cbb62 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistClassicCubePhase6RRCorrectionContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistClassicCubePhase6RRCorrectionContractTest.cpp @@ -51,7 +51,7 @@ namespace HyperTwistClassicCubePhase6RRTestInternal UHyperTwistTrainingSubsystem* MakeRecognitionSubsystem(const FString& SessionId) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); if (GameInstance == nullptr) { return nullptr; diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistClassicCubePhase6RSCorrectionResolutionContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistClassicCubePhase6RSCorrectionResolutionContractTest.cpp index a476d56..91b665b 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistClassicCubePhase6RSCorrectionResolutionContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistClassicCubePhase6RSCorrectionResolutionContractTest.cpp @@ -51,7 +51,7 @@ namespace HyperTwistClassicCubePhase6RSTestInternal UHyperTwistTrainingSubsystem* MakeRecognitionSubsystem(const FString& SessionId) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); if (GameInstance == nullptr) { return nullptr; diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistCoquiPhase6RARVoiceModelReviewContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistCoquiPhase6RARVoiceModelReviewContractTest.cpp index 9d34a5a..a1061bc 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistCoquiPhase6RARVoiceModelReviewContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistCoquiPhase6RARVoiceModelReviewContractTest.cpp @@ -12,12 +12,12 @@ namespace HyperTwistCoquiPhase6RARTestInternal { UHyperTwistMockVoiceClient* MakeMockVoiceClient() { - return NewObject(GetTransientPackage()); + return NewObject(); } UHyperTwistHttpVoiceClient* MakeHttpVoiceClient() { - return NewObject(GetTransientPackage()); + return NewObject(); } const FHyperTwistVoiceModelReviewDescriptor* FindReviewById( diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistCoquiPhase6RHAdvancedNarrationContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistCoquiPhase6RHAdvancedNarrationContractTest.cpp index fd7e8e4..08a10ca 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistCoquiPhase6RHAdvancedNarrationContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistCoquiPhase6RHAdvancedNarrationContractTest.cpp @@ -12,7 +12,7 @@ namespace HyperTwistCoquiPhase6RHTestInternal { UHyperTwistMockVoiceClient* MakeMockVoiceClient() { - return NewObject(GetTransientPackage()); + return NewObject(); } } diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistCubeDeskBound1TrainingTimerTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistCubeDeskBound1TrainingTimerTest.cpp index adad451..cbada9c 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistCubeDeskBound1TrainingTimerTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistCubeDeskBound1TrainingTimerTest.cpp @@ -105,7 +105,7 @@ IMPLEMENT_SIMPLE_AUTOMATION_TEST( bool FHyperTwistCubeDeskBound1DrillTimerCouplingTest::RunTest(const FString& Parameters) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); TestNotNull(TEXT("Game instance outer must be created for subsystem construction."), GameInstance); if (GameInstance == nullptr) { diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistCubeDeskBound3SmartDeviceBridgeTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistCubeDeskBound3SmartDeviceBridgeTest.cpp index 4fd018a..e280167 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistCubeDeskBound3SmartDeviceBridgeTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistCubeDeskBound3SmartDeviceBridgeTest.cpp @@ -122,7 +122,7 @@ IMPLEMENT_SIMPLE_AUTOMATION_TEST( bool FHyperTwistCubeDeskBound3FixtureIngestionTest::RunTest(const FString& Parameters) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); TestNotNull(TEXT("Game instance must exist for the smart-device subsystem test."), GameInstance); if (GameInstance == nullptr) { @@ -332,7 +332,7 @@ IMPLEMENT_SIMPLE_AUTOMATION_TEST( bool FHyperTwistCubeDeskBound3DeviceSessionLifecycleTest::RunTest(const FString& Parameters) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); TestNotNull(TEXT("Game instance must exist for the device-session lifecycle test."), GameInstance); if (GameInstance == nullptr) { @@ -444,7 +444,7 @@ IMPLEMENT_SIMPLE_AUTOMATION_TEST( bool FHyperTwistCubeDeskBound3RepositoryDedupeTest::RunTest(const FString& Parameters) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); TestNotNull(TEXT("Game instance must exist for the repository dedupe test."), GameInstance); if (GameInstance == nullptr) { diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistCubeDeskBound5SocialChallengeTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistCubeDeskBound5SocialChallengeTest.cpp index 52e1bc1..8fc6a47 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistCubeDeskBound5SocialChallengeTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistCubeDeskBound5SocialChallengeTest.cpp @@ -422,7 +422,7 @@ IMPLEMENT_SIMPLE_AUTOMATION_TEST( bool FHyperTwistCubeDeskBound5ComparisonProjectionTest::RunTest(const FString& Parameters) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); TestNotNull(TEXT("A game instance must exist for the Bound 5 subsystem test."), GameInstance); if (GameInstance == nullptr) { diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistFasterWhisperPhase6RAPServiceLaneTuningContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistFasterWhisperPhase6RAPServiceLaneTuningContractTest.cpp index bb4fc8b..356df8d 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistFasterWhisperPhase6RAPServiceLaneTuningContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistFasterWhisperPhase6RAPServiceLaneTuningContractTest.cpp @@ -49,7 +49,7 @@ namespace HyperTwistFasterWhisperPhase6RAPTestInternal UHyperTwistTrainingSubsystem* MakeSpeechSubsystem(const FString& SessionId) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); if (GameInstance == nullptr) { return nullptr; diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistFasterWhisperPhase6RFOrchestrationContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistFasterWhisperPhase6RFOrchestrationContractTest.cpp index c978b3d..0d23209 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistFasterWhisperPhase6RFOrchestrationContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistFasterWhisperPhase6RFOrchestrationContractTest.cpp @@ -49,7 +49,7 @@ namespace HyperTwistFasterWhisperPhase6RFTestInternal UHyperTwistTrainingSubsystem* MakeSpeechSubsystem(const FString& SessionId) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); if (GameInstance == nullptr) { return nullptr; diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistHandyPhase6RAJDictationAdjunctContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistHandyPhase6RAJDictationAdjunctContractTest.cpp index 1e56d20..4f3e9c0 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistHandyPhase6RAJDictationAdjunctContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistHandyPhase6RAJDictationAdjunctContractTest.cpp @@ -49,7 +49,7 @@ namespace HyperTwistHandyPhase6RAJTestInternal UHyperTwistTrainingSubsystem* MakeSpeechSubsystem(const FString& SessionId) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); if (GameInstance == nullptr) { return nullptr; diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistHandyPhase6RAOHotkeyMuteDeviceContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistHandyPhase6RAOHotkeyMuteDeviceContractTest.cpp index cdec07f..5f1328d 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistHandyPhase6RAOHotkeyMuteDeviceContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistHandyPhase6RAOHotkeyMuteDeviceContractTest.cpp @@ -49,7 +49,7 @@ namespace HyperTwistHandyPhase6RAOTestInternal UHyperTwistTrainingSubsystem* MakeSpeechSubsystem(const FString& SessionId) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); if (GameInstance == nullptr) { return nullptr; diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistHandyPhase6RAULocalModelCatalogContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistHandyPhase6RAULocalModelCatalogContractTest.cpp index a9f47b7..48224de 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistHandyPhase6RAULocalModelCatalogContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistHandyPhase6RAULocalModelCatalogContractTest.cpp @@ -49,7 +49,7 @@ namespace HyperTwistHandyPhase6RAUTestInternal UHyperTwistTrainingSubsystem* MakeSpeechSubsystem(const FString& SessionId) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); if (GameInstance == nullptr) { return nullptr; diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistPiperPhase6RAQVoiceAssetReviewContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistPiperPhase6RAQVoiceAssetReviewContractTest.cpp index f8883f0..746af19 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistPiperPhase6RAQVoiceAssetReviewContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistPiperPhase6RAQVoiceAssetReviewContractTest.cpp @@ -11,12 +11,12 @@ namespace HyperTwistPiperPhase6RAQTestInternal { UHyperTwistMockVoiceClient* MakeMockVoiceClient() { - return NewObject(GetTransientPackage()); + return NewObject(); } UHyperTwistHttpVoiceClient* MakeHttpVoiceClient() { - return NewObject(GetTransientPackage()); + return NewObject(); } const FHyperTwistVoiceProfileSummary* FindProfileById( diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistPiperPhase6RGLocalNarrationContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistPiperPhase6RGLocalNarrationContractTest.cpp index 56de539..72ae6f0 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistPiperPhase6RGLocalNarrationContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistPiperPhase6RGLocalNarrationContractTest.cpp @@ -12,7 +12,7 @@ namespace HyperTwistPiperPhase6RGTestInternal { UHyperTwistMockVoiceClient* MakeMockVoiceClient() { - return NewObject(GetTransientPackage()); + return NewObject(); } } diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistQbrPhase6RAKLocaleGuidanceContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistQbrPhase6RAKLocaleGuidanceContractTest.cpp index 676003b..e8d1c7a 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistQbrPhase6RAKLocaleGuidanceContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistQbrPhase6RAKLocaleGuidanceContractTest.cpp @@ -51,7 +51,7 @@ namespace HyperTwistQbrPhase6RAKTestInternal UHyperTwistTrainingSubsystem* MakeRecognitionSubsystem(const FString& SessionId) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); if (GameInstance == nullptr) { return nullptr; diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistQbrPhase6RANLocalePresentationContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistQbrPhase6RANLocalePresentationContractTest.cpp index 126aed4..680c9de 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistQbrPhase6RANLocalePresentationContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistQbrPhase6RANLocalePresentationContractTest.cpp @@ -51,7 +51,7 @@ namespace HyperTwistQbrPhase6RANTestInternal UHyperTwistTrainingSubsystem* MakeRecognitionSubsystem(const FString& SessionId) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); if (GameInstance == nullptr) { return nullptr; diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistQbrPhase6RASBundledFontReviewContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistQbrPhase6RASBundledFontReviewContractTest.cpp index ecc9d06..02427a7 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistQbrPhase6RASBundledFontReviewContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistQbrPhase6RASBundledFontReviewContractTest.cpp @@ -51,7 +51,7 @@ namespace HyperTwistQbrPhase6RASTestInternal UHyperTwistTrainingSubsystem* MakeRecognitionSubsystem(const FString& SessionId) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); if (GameInstance == nullptr) { return nullptr; diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistQbrPhase6RBCalibrationContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistQbrPhase6RBCalibrationContractTest.cpp index 7f7743e..58257a7 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistQbrPhase6RBCalibrationContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistQbrPhase6RBCalibrationContractTest.cpp @@ -58,7 +58,7 @@ IMPLEMENT_SIMPLE_AUTOMATION_TEST( bool FHyperTwistQbrPhase6RBCalibrationSessionConfigTest::RunTest(const FString& Parameters) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); TestNotNull(TEXT("Game instance outer must exist for subsystem construction."), GameInstance); if (GameInstance == nullptr) { @@ -127,7 +127,7 @@ IMPLEMENT_SIMPLE_AUTOMATION_TEST( bool FHyperTwistQbrPhase6RBPreviewObservationTest::RunTest(const FString& Parameters) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); TestNotNull(TEXT("Game instance outer must exist for subsystem construction."), GameInstance); if (GameInstance == nullptr) { @@ -187,7 +187,7 @@ IMPLEMENT_SIMPLE_AUTOMATION_TEST( bool FHyperTwistQbrPhase6RBCommitObservationTest::RunTest(const FString& Parameters) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); TestNotNull(TEXT("Game instance outer must exist for subsystem construction."), GameInstance); if (GameInstance == nullptr) { diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistQbrPhase6ROWebcamShellContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistQbrPhase6ROWebcamShellContractTest.cpp index 2718d86..41a0222 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistQbrPhase6ROWebcamShellContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistQbrPhase6ROWebcamShellContractTest.cpp @@ -84,7 +84,7 @@ IMPLEMENT_SIMPLE_AUTOMATION_TEST( bool FHyperTwistQbrPhase6ROWebcamShellSessionConfigTest::RunTest(const FString& Parameters) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); TestNotNull(TEXT("Game instance outer must exist for subsystem construction."), GameInstance); if (GameInstance == nullptr) { @@ -194,7 +194,7 @@ IMPLEMENT_SIMPLE_AUTOMATION_TEST( bool FHyperTwistQbrPhase6ROWebcamShellPreviewStateTest::RunTest(const FString& Parameters) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); TestNotNull(TEXT("Game instance outer must exist for subsystem construction."), GameInstance); if (GameInstance == nullptr) { @@ -249,7 +249,7 @@ IMPLEMENT_SIMPLE_AUTOMATION_TEST( bool FHyperTwistQbrPhase6ROWebcamShellCommitStateTest::RunTest(const FString& Parameters) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); TestNotNull(TEXT("Game instance outer must exist for subsystem construction."), GameInstance); if (GameInstance == nullptr) { diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistRubixCubeSolverPhase6RATTwistyAssetReviewContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistRubixCubeSolverPhase6RATTwistyAssetReviewContractTest.cpp index a5dd22c..abfe38e 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistRubixCubeSolverPhase6RATTwistyAssetReviewContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistRubixCubeSolverPhase6RATTwistyAssetReviewContractTest.cpp @@ -51,7 +51,7 @@ namespace HyperTwistRubixCubeSolverPhase6RATTestInternal UHyperTwistTrainingSubsystem* MakeRecognitionSubsystem(const FString& SessionId) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); if (GameInstance == nullptr) { return nullptr; diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistRubixCubeSolverPhase6RCReconstructionContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistRubixCubeSolverPhase6RCReconstructionContractTest.cpp index 8baf928..8debeeb 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistRubixCubeSolverPhase6RCReconstructionContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistRubixCubeSolverPhase6RCReconstructionContractTest.cpp @@ -54,7 +54,7 @@ namespace HyperTwistRubixCubeSolverPhase6RCTestInternal UHyperTwistTrainingSubsystem* MakeRecognitionSubsystem(const FString& SessionId) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); if (GameInstance == nullptr) { return nullptr; diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistRubixCubeSolverPhase6RPBrowserShellContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistRubixCubeSolverPhase6RPBrowserShellContractTest.cpp index f5e4395..b931a16 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistRubixCubeSolverPhase6RPBrowserShellContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistRubixCubeSolverPhase6RPBrowserShellContractTest.cpp @@ -51,7 +51,7 @@ namespace HyperTwistRubixCubeSolverPhase6RPTestInternal UHyperTwistTrainingSubsystem* MakeRecognitionSubsystem(const FString& SessionId) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); if (GameInstance == nullptr) { return nullptr; diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistRubixCubeSolverPhase6RQSolveExplanationContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistRubixCubeSolverPhase6RQSolveExplanationContractTest.cpp index de3e485..96d630f 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistRubixCubeSolverPhase6RQSolveExplanationContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistRubixCubeSolverPhase6RQSolveExplanationContractTest.cpp @@ -51,7 +51,7 @@ namespace HyperTwistRubixCubeSolverPhase6RQTestInternal UHyperTwistTrainingSubsystem* MakeRecognitionSubsystem(const FString& SessionId) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); if (GameInstance == nullptr) { return nullptr; diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RAAUsageCostDashboardShellContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RAAUsageCostDashboardShellContractTest.cpp index 0e6f128..dc3cb5d 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RAAUsageCostDashboardShellContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RAAUsageCostDashboardShellContractTest.cpp @@ -50,7 +50,7 @@ namespace HyperTwistWhisperCppPhase6RAATestInternal UHyperTwistTrainingSubsystem* MakeSpeechSubsystem(const FString& SessionId, const FString& ClientKind) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); if (GameInstance == nullptr) { return nullptr; diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RABUsageCostHistoryExportShellContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RABUsageCostHistoryExportShellContractTest.cpp index c4f22b4..ed0429c 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RABUsageCostHistoryExportShellContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RABUsageCostHistoryExportShellContractTest.cpp @@ -50,7 +50,7 @@ namespace HyperTwistWhisperCppPhase6RABTestInternal UHyperTwistTrainingSubsystem* MakeSpeechSubsystem(const FString& SessionId, const FString& ClientKind) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); if (GameInstance == nullptr) { return nullptr; diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RACProviderReceiptReviewShellContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RACProviderReceiptReviewShellContractTest.cpp index 9319c0a..d45c77b 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RACProviderReceiptReviewShellContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RACProviderReceiptReviewShellContractTest.cpp @@ -50,7 +50,7 @@ namespace HyperTwistWhisperCppPhase6RACTestInternal UHyperTwistTrainingSubsystem* MakeSpeechSubsystem(const FString& SessionId, const FString& ClientKind) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); if (GameInstance == nullptr) { return nullptr; diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RADProviderBillingSettlementShellContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RADProviderBillingSettlementShellContractTest.cpp index 3e49146..a3b1714 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RADProviderBillingSettlementShellContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RADProviderBillingSettlementShellContractTest.cpp @@ -50,7 +50,7 @@ namespace HyperTwistWhisperCppPhase6RADTestInternal UHyperTwistTrainingSubsystem* MakeSpeechSubsystem(const FString& SessionId, const FString& ClientKind) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); if (GameInstance == nullptr) { return nullptr; diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RAEProviderSettlementExceptionShellContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RAEProviderSettlementExceptionShellContractTest.cpp index add1e9e..93cb9af 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RAEProviderSettlementExceptionShellContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RAEProviderSettlementExceptionShellContractTest.cpp @@ -50,7 +50,7 @@ namespace HyperTwistWhisperCppPhase6RAETestInternal UHyperTwistTrainingSubsystem* MakeSpeechSubsystem(const FString& SessionId, const FString& ClientKind) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); if (GameInstance == nullptr) { return nullptr; diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RAFDevicePermissionWorkflowContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RAFDevicePermissionWorkflowContractTest.cpp index 816c448..853a1ed 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RAFDevicePermissionWorkflowContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RAFDevicePermissionWorkflowContractTest.cpp @@ -49,7 +49,7 @@ namespace HyperTwistWhisperCppPhase6RAFTestInternal UHyperTwistTrainingSubsystem* MakeSpeechSubsystem(const FString& SessionId, const FString& ClientKind) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); if (GameInstance == nullptr) { return nullptr; diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RAGNativeCaptureRouteWorkflowContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RAGNativeCaptureRouteWorkflowContractTest.cpp index c6f49c2..9613f49 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RAGNativeCaptureRouteWorkflowContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RAGNativeCaptureRouteWorkflowContractTest.cpp @@ -51,7 +51,7 @@ namespace HyperTwistWhisperCppPhase6RAGTestInternal UHyperTwistTrainingSubsystem* MakeSpeechSubsystem(const FString& SessionId, const FString& ClientKind) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); if (GameInstance == nullptr) { return nullptr; diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RAHNativeCaptureRouteShellContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RAHNativeCaptureRouteShellContractTest.cpp index 831d799..e802b67 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RAHNativeCaptureRouteShellContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RAHNativeCaptureRouteShellContractTest.cpp @@ -51,7 +51,7 @@ namespace HyperTwistWhisperCppPhase6RAHTestInternal UHyperTwistTrainingSubsystem* MakeSpeechSubsystem(const FString& SessionId, const FString& ClientKind) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); if (GameInstance == nullptr) { return nullptr; diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RAICustomEndpointRuntimeContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RAICustomEndpointRuntimeContractTest.cpp index e531969..d38d1d5 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RAICustomEndpointRuntimeContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RAICustomEndpointRuntimeContractTest.cpp @@ -70,7 +70,7 @@ namespace HyperTwistWhisperCppPhase6RAITestInternal UHyperTwistTrainingSubsystem* MakeSpeechSubsystem(const FString& SessionId) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); if (GameInstance == nullptr) { return nullptr; diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RESpeechTranscriptContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RESpeechTranscriptContractTest.cpp index 0702404..2641337 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RESpeechTranscriptContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RESpeechTranscriptContractTest.cpp @@ -49,7 +49,7 @@ namespace HyperTwistWhisperCppPhase6RETestInternal UHyperTwistTrainingSubsystem* MakeSpeechSubsystem(const FString& SessionId) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); if (GameInstance == nullptr) { return nullptr; diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RUMicrophoneShellContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RUMicrophoneShellContractTest.cpp index 9317cf7..cb188c4 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RUMicrophoneShellContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RUMicrophoneShellContractTest.cpp @@ -49,7 +49,7 @@ namespace HyperTwistWhisperCppPhase6RUTestInternal UHyperTwistTrainingSubsystem* MakeSpeechSubsystem(const FString& SessionId) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); if (GameInstance == nullptr) { return nullptr; diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RVPermissionReadinessContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RVPermissionReadinessContractTest.cpp index d396b60..1b60f16 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RVPermissionReadinessContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RVPermissionReadinessContractTest.cpp @@ -50,7 +50,7 @@ namespace HyperTwistWhisperCppPhase6RVTestInternal UHyperTwistTrainingSubsystem* MakeSpeechSubsystem(const FString& SessionId, const FString& ClientKind) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); if (GameInstance == nullptr) { return nullptr; diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RWModelPayloadCustodyContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RWModelPayloadCustodyContractTest.cpp index c47586d..6de472d 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RWModelPayloadCustodyContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RWModelPayloadCustodyContractTest.cpp @@ -50,7 +50,7 @@ namespace HyperTwistWhisperCppPhase6RWTestInternal UHyperTwistTrainingSubsystem* MakeSpeechSubsystem(const FString& SessionId, const FString& ClientKind) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); if (GameInstance == nullptr) { return nullptr; diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RXProviderProfileByokContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RXProviderProfileByokContractTest.cpp index 83095a2..63c1324 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RXProviderProfileByokContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RXProviderProfileByokContractTest.cpp @@ -50,7 +50,7 @@ namespace HyperTwistWhisperCppPhase6RXTestInternal UHyperTwistTrainingSubsystem* MakeSpeechSubsystem(const FString& SessionId, const FString& ClientKind) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); if (GameInstance == nullptr) { return nullptr; diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RYProviderRoutingPolicyContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RYProviderRoutingPolicyContractTest.cpp index d47adaf..ba5a5fd 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RYProviderRoutingPolicyContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RYProviderRoutingPolicyContractTest.cpp @@ -50,7 +50,7 @@ namespace HyperTwistWhisperCppPhase6RYTestInternal UHyperTwistTrainingSubsystem* MakeSpeechSubsystem(const FString& SessionId, const FString& ClientKind) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); if (GameInstance == nullptr) { return nullptr; diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RZUsageCostEventModelContractTest.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RZUsageCostEventModelContractTest.cpp index ffdf18e..ab41d99 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RZUsageCostEventModelContractTest.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistWhisperCppPhase6RZUsageCostEventModelContractTest.cpp @@ -50,7 +50,7 @@ namespace HyperTwistWhisperCppPhase6RZTestInternal UHyperTwistTrainingSubsystem* MakeSpeechSubsystem(const FString& SessionId, const FString& ClientKind) { - UGameInstance* GameInstance = NewObject(GetTransientPackage()); + UGameInstance* GameInstance = NewObject(); if (GameInstance == nullptr) { return nullptr;