02-25-2025 06:55 PM
The Get Boundary Visibility function is running on tick on servers, causing a crash.
0000000000000000() Unknown
> [Inline Frame] x.exe!OculusXRScene::FOculusXRScene::GetBoundaryVisibility(EOculusXRBoundaryVisibility &) Line 253 C++
x.exe!UOculusXRSceneSubsystem::GetBoundaryVisibility() Line 61 C++
x.exe!UOculusXRSceneSubsystem::UpdateBoundary() Line 83 C++
x.exe!FTickableGameObject::TickObjects(UWorld * World, int InTickType, bool bIsPaused, float DeltaSeconds) Line 153 C++
x.exe!UGameEngine::Tick(float DeltaSeconds, bool bIdleMode) Line 1853 C++
x.exe!FEngineLoop::Tick() Line 5921 C++
[Inline Frame] NitroGridServer.exe!EngineTick() Line 61 C++
x.exe!GuardedMain(const wchar_t * CmdLine) Line 180 C++
x.exe!LaunchWindowsStartup(HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, char * __formal, int nCmdShow, const wchar_t * CmdLine) Line 247 C++
x.exe!WinMain(HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, char * pCmdLine, int nCmdShow) Line 299 C++
[External Code]
02-25-2025 07:05 PM
I edited the OculusXRSceneSubsystem.cpp file, and built the project and it didn't crash
void UOculusXRSceneSubsystem::UpdateBoundary()
{
// Add this check at the beginning of the function
if (IsRunningDedicatedServer())
{
return;
}
// Existing code
}