StreamlineCore Plugin
StreamlineRHI.cpp:
const FString PluginBaseDir = IPluginManager::Get().FindPlugin(TEXT(“Streamline”))->GetBaseDir();
Is it supposed to be “StreamlineCore” instead of “Streamline” in the code?
StreamlineCore Plugin
StreamlineRHI.cpp:
const FString PluginBaseDir = IPluginManager::Get().FindPlugin(TEXT(“Streamline”))->GetBaseDir();
Is it supposed to be “StreamlineCore” instead of “Streamline” in the code?
Bump, this causes crash on packaged builds
Assertion failed: IsValid() [File:C:\packman-repo\chk\UnrealEngine\5.5.0-Win64\Engine\Source\Runtime\Core\Public\Templates\SharedPointer.h] [Line: 1082]
ModernZombieDefense_Win64_DebugGame!PlatformCreateStreamlineRHI() [Z:_stage\Plugin\Plugins\StreamlineCore\HostProject\Plugins\StreamlineCore\Source\StreamlineRHI\Private\StreamlineRHI.cpp:543]
ModernZombieDefense_Win64_DebugGame!FStreamlineRHIModule::StartupModule() [Z:_stage\Plugin\Plugins\StreamlineCore\HostProject\Plugins\StreamlineCore\Source\StreamlineRHI\Private\StreamlineRHI.cpp:1067]
ModernZombieDefense_Win64_DebugGame!FModuleManager::LoadModuleWithFailureReason()
ModernZombieDefense_Win64_DebugGame!FModuleDescriptor::LoadModulesForPhase()
ModernZombieDefense_Win64_DebugGame!FPluginManager::TryLoadModulesForPlugin()
ModernZombieDefense_Win64_DebugGame!FPluginManager::LoadModulesForEnabledPlugins()
ModernZombieDefense_Win64_DebugGame!FEngineLoop::PreInitPreStartupScreen()
ModernZombieDefense_Win64_DebugGame!GuardedMain()
ModernZombieDefense_Win64_DebugGame!GuardedMainWrapper()
ModernZombieDefense_Win64_DebugGame!LaunchWindowsStartup()
ModernZombieDefense_Win64_DebugGame!WinMain()
ModernZombieDefense_Win64_DebugGame!__scrt_common_main_seh()
If you don’t fix that code, the editor won’t even open without the Streamline plugin.
I successfully packaged the project after making that fix. If you are unable to build the StreamlineCore plugin source, try including the Streamline plugin along with its dependencies—StreamlineCore, StreamlineDLSSG, and StreamlineDeepDVC—into your project before attempting to package it.
I can confirm, I had the same crash as above, I fixed the code in the StreamlineRHI.cpp and my game packages and runs fine…
I wonder how this slipped through QA… After all the time we had to wait for DLSS 4
I can also confirm the same issue, hope this gets resolved and a new release version.
@jof4002 can I just confirm I’m reading your message right.
Change This
StreamlineRHI.cpp:
const FString PluginBaseDir = IPluginManager::Get().FindPlugin(TEXT(“Streamline”))->GetBaseDir();
To This
StreamlineRHI.cpp:
const FString PluginBaseDir = IPluginManager::Get().FindPlugin(TEXT(“StreamlineCore”))->GetBaseDir();
I added DLSS, StreamlineCore, StreamlineDLSSG,StreamlineReflex plugins to my project’s folder and changed to
const FString PluginBaseDir = IPluginManager::Get().FindPlugin(TEXT(“StreamlineCore”))->GetBaseDir();
The Editor and Package build were successful, and it runs anyway.
I haven’t checked whether all the features in Streamline are operating as intended.
I reproduced the bug and its fix as you’re describing it. (The correction happens at line 543 of StreamlineRHI.cpp)
It works now. Thanks!