View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002918 | NoesisGUI | Unreal | public | 2023-12-05 03:04 | 2024-01-29 22:27 |
| Reporter | hcpizzi | Assigned To | hcpizzi | ||
| Priority | normal | Severity | crash | ||
| Status | resolved | Resolution | fixed | ||
| Target Version | 3.2.3 | Fixed in Version | 3.2.3 | ||
| Summary | 0002918: Crash when resizing the Viewport with the D3D11 render back | ||||
| Description | A check fails during window resizing when the D3D11 RHI is used. | ||||
| Platform | Any | ||||
|
I've attached a patch that resolves the problem. WindowResizeFix.patch (644 bytes)
Index: NoesisRuntimeModule.cpp
===================================================================
--- NoesisRuntimeModule.cpp (revision 12825)
+++ NoesisRuntimeModule.cpp (working copy)
@@ -640,6 +640,15 @@
InputPreProcessor = NoesisRegisterInputPreProcessor();
ViewExtension = NoesisRegisterSceneViewExtension();
+
+ if (FSlateApplication::IsInitialized())
+ {
+ FSlateRenderer* SlateRenderer = FSlateApplication::Get().GetRenderer();
+ SlateRenderer->OnPreResizeWindowBackBuffer().AddLambda([](void*)
+ {
+ BackgroundImage::BackgroundColorTexture = nullptr;
+ });
+ }
}
void OnEnginePreExit()
|
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2023-12-05 03:04 | hcpizzi | New Issue | |
| 2023-12-05 03:05 | hcpizzi | Note Added: 0009000 | |
| 2023-12-05 03:05 | hcpizzi | File Added: WindowResizeFix.patch | |
| 2023-12-05 10:07 | jsantos | Assigned To | => hcpizzi |
| 2023-12-05 10:07 | jsantos | Status | new => assigned |
| 2023-12-05 10:07 | jsantos | Target Version | => 3.2.3 |
| 2023-12-05 10:08 | jsantos | Status | assigned => feedback |
| 2024-01-22 11:38 | jsantos | Status | feedback => assigned |
| 2024-01-22 11:47 | sfernandez | Target Version | 3.2.3 => 3.2.4 |
| 2024-01-22 11:48 | jsantos | Target Version | 3.2.4 => 3.2.3 |
| 2024-01-29 22:27 | hcpizzi | Status | assigned => resolved |
| 2024-01-29 22:27 | hcpizzi | Resolution | open => fixed |
| 2024-01-29 22:27 | hcpizzi | Fixed in Version | => 3.2.3 |