Unreal Editor crashes whilst attempting to calculate probe settings
Whenever I try to calculate the probe settings, the editor crashes. This is the error I get
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000030
UnrealEditor_ProjectAcousticsBakeUI!AAcousticsDebugRenderer::Tick() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\ProjectAcoustics\Source\ProjectAcousticsBakeUI\Private\AcousticsDebugRenderer.cpp:74]
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll
@ImGreenWolf thanks for reporting this issue. To avoid this issue, please update the following code in the ProjectAcousticsBakeUI plugin to match the following. Sorry for the inconvenience.
void AAcousticsDebugRenderer::Tick(float deltaSeconds) { auto viewport = GEditor->GetActiveViewport(); if (viewport == nullptr) { return; } auto* client = static_cast<FEditorViewportClient*>(viewport->GetClient()); if (client) { auto cameraDir = client->GetViewRotation().Vector(); auto cameraPosition = client->GetViewLocation(); auto cameraFOV = client->ViewFOV; UpdateCacheAndRender(cameraPosition, cameraDir, cameraFOV); } }