User avatar
blafollette
Topic Author
Posts: 7
Joined: 15 Jul 2020, 11:54

Unity crash being caused by a ListView ScollViewer style's GridViewHeaderRowPresenter element

04 Dec 2020, 13:06

In our Unity project, we have a ListView with a style targeting type ScrollViewer. In the ScrollViewer element inside a ControlTemplate part of the style, we have a GridViewHeaderRowPresenter.

What we're seeing is that this setup works just fine in WPF, but in Unity (either editor or build) viewing the pages which use the ListView control described above, we quickly get a crash with the following description
Description:
Faulting application name: Unity.exe, version: 2019.4.9.65162, time stamp: 0x5f3b4240
Faulting module name: ucrtbase.dll, version: 10.0.18362.1110, time stamp: 0xb4cacc38
Exception code: 0xc0000409
Fault offset: 0x000000000006dace
Faulting process id: 0x6080
Faulting application start time: 0x01d6a78595d5865b
Faulting application path: D:\Unitys\2019.4.9f1\Editor\Unity.exe
Faulting module path: C:\WINDOWS\System32\ucrtbase.dll
This happens with no more specification than:
<ScrollViewer Focusable="False" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden" PanningMode="HorizontalFirst">
    <GridViewHeaderRowPresenter/>
</ScrollViewer>
If we remove <GridViewHeaderRowPresenter/> from the style declaration, the crash no longer occurs.

Any help you could give us would be greatly appreciated!

Tags:
 
User avatar
sfernandez
Site Admin
Posts: 2255
Joined: 22 Dec 2011, 19:20

Re: Unity crash being caused by a ListView ScollViewer style's GridViewHeaderRowPresenter element

04 Dec 2020, 14:32

Could you please create a ticket in our bugtracker and attach the crash dump info so we can see where the crash is coming from?
 
User avatar
blafollette
Topic Author
Posts: 7
Joined: 15 Jul 2020, 11:54

Re: Unity crash being caused by a ListView ScollViewer style's GridViewHeaderRowPresenter element

04 Dec 2020, 16:19

I've submitted a ticket. Strangely, I haven't been able to find any sort of .dmp file at all associated with the crash. I attached all the diagnostic information I could gather from the Windows Event Viewer and from attaching VS to the process with the crash occurs.
 
User avatar
sfernandez
Site Admin
Posts: 2255
Joined: 22 Dec 2011, 19:20

Re: Unity crash being caused by a ListView ScollViewer style's GridViewHeaderRowPresenter element

04 Dec 2020, 17:19

Thanks for the report, we'll continue there: #1853

Who is online

Users browsing this forum: No registered users and 2 guests