View Issue Details

IDProjectCategoryView StatusLast Update
0002606NoesisGUIUnrealpublic2023-07-21 11:34
Reportersergey_sitnikov_ninjatheory Assigned Tohcpizzi  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.2.1 
Target Version3.2.2Fixed in Version3.2.2 
Summary0002606: Crash in UNoesisInstance::NativePaint when stopping PIE
DescriptionThere is a crash in the new code that have been added to 3.2.1 when stopping PIE (returned Viewport pointer is nullptr):

        UGameViewportClient* ViewportClient = GetWorld()->GetGameViewport();
        FSceneViewport* Viewport = ViewportClient->GetGameViewport();
>> auto ViewportPosition = Viewport->GetInitialPositionXY();
        auto ViewportSize = Viewport->GetSizeXY();
        auto UnscaledViewRect = FIntRect(ViewportPosition.X, ViewportPosition.Y, ViewportPosition.X + ViewportSize.X, ViewportPosition.Y + ViewportSize.Y);
        NoesisSlateElement->ViewLeft = UnscaledViewRect.Min.X;
        NoesisSlateElement->ViewTop = UnscaledViewRect.Min.Y;
        NoesisSlateElement->ViewRight = UnscaledViewRect.Max.X;
        NoesisSlateElement->ViewBottom = UnscaledViewRect.Max.Y;
Steps To Reproduce* Start PIE session in Unreal
* Add NoesisInstance to viewport
* Stop PIE (e.g. press Esc)
TagsNo tags attached.
PlatformAny

Relationships

related to 0002593 resolvedhcpizzi Crash when previewing View instance in the Editor 

Activities

sfernandez

sfernandez

2023-05-22 12:27

manager   ~0008500

I think this is related to issue 0002593 we already resolved in changeset r12514.
Could you apply that patch and see if it is fixed for you?
sergey_sitnikov_ninjatheory

sergey_sitnikov_ninjatheory

2023-05-22 13:26

reporter   ~0008501

That code is removed in 12514 so I assume it is fixed by that change (I have made a local fix waiting for the new release version of the library).

Issue History

Date Modified Username Field Change
2023-05-22 11:41 sergey_sitnikov_ninjatheory New Issue
2023-05-22 12:24 sfernandez Assigned To => hcpizzi
2023-05-22 12:24 sfernandez Status new => assigned
2023-05-22 12:24 sfernandez Target Version => 3.2.2
2023-05-22 12:26 sfernandez Relationship added related to 0002593
2023-05-22 12:27 sfernandez Status assigned => feedback
2023-05-22 12:27 sfernandez Note Added: 0008500
2023-05-22 13:26 sergey_sitnikov_ninjatheory Note Added: 0008501
2023-05-22 13:26 sergey_sitnikov_ninjatheory Status feedback => assigned
2023-07-21 11:34 hcpizzi Status assigned => resolved
2023-07-21 11:34 hcpizzi Resolution open => fixed
2023-07-21 11:34 hcpizzi Fixed in Version => 3.2.2