Open if-mindesk opened 2 months ago
Hi @if-mindesk ,
I've downloaded your project but am unable to reproduce the issue. Could you please provide more details? Thank you
https://github.com/user-attachments/assets/09feff23-3558-4625-99b9-e840d73c90d0
Hi @davilovick, when I start the app and move the mouse inside the client area it crashes
https://github.com/user-attachments/assets/173dd915-0eed-4929-a157-04ec8a5ccac0
My device info:
Processor 12th Gen Intel(R) Core(TM) i9-12900KF 3.19 GHz Installed RAM 64.0 GB (63.8 GB usable) System type 64-bit operating system, x64-based processor Pen and touch No pen or touch input is available for this display
Edition Windows 11 Pro Version 23H2 Installed on 11/20/2022 OS build 22631.3958 Experience Windows Feature Experience Pack 1000.22700.1026.0
Card name: NVIDIA GeForce RTX 3090
Manufacturer: NVIDIA
Chip type: NVIDIA GeForce RTX 3090
DAC type: Integrated RAMDAC
Device Type: Full Device (POST)
Device Key: Enum\PCI\VEN_10DE&DEV_2204&SUBSYS_38801028&REV_A1
Device Status: 0180200A [DN_DRIVER_LOADED|DN_STARTED|DN_DISABLEABLE|DN_NT_ENUMERATOR|DN_NT_DRIVER]
Device Problem Code: No Problem Driver Problem Code: Unknown Display Memory: 56990 MB Dedicated Memory: 24326 MB Shared Memory: 32664 MB Current Mode: 3440 x 1440 (32 bit) (165Hz) HDR Support: Supported Display Topology: Extend Display Color Space: DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709 Color Primaries: Red(0.672852,0.313477), Green(0.278320,0.640625), Blue(0.150391,0.069336), White Point(0.312500,0.329102) Display Luminance: Min Luminance = 0.054800, Max Luminance = 455.523193, MaxFullFrameLuminance = 455.523193 Monitor Name: Generic PnP Monitor Monitor Model: ZQE-CAA Monitor Id: HWV6A25 Native Mode: 3440 x 1440(p) (99.982Hz) Output Type: Displayport External Monitor Capabilities: HDR Supported (BT2020RGB BT2020YCC Eotf2084Supported ) Display Pixel Format: DISPLAYCONFIG_PIXELFORMAT_32BPP Advanced Color: AdvancedColorSupported Driver Name: C:\Windows\System32\DriverStore\FileRepository\nvddi.inf_amd64_3f111b938c83cfc2\nvldumdx.dll,C:\Windows\System32\DriverStore\FileRepository\nvddi.inf_amd64_3f111b938c83cfc2\nvldumdx.dll,C:\Windows\System32\DriverStore\FileRepository\nvddi.inf_amd64_3f111b938c83cfc2\nvldumdx.dll,C:\Windows\System32\DriverStore\FileRepository\nvddi.inf_amd64_3f111b938c83cfc2\nvldumdx.dll Driver File Version: 32.00.0015.5599 (English) Driver Version: 32.0.15.5599 DDI Version: 12 Feature Levels: 12_2,12_1,12_0,11_1,11_0,10_1,10_0,9_3,9_2,9_1 Driver Model: WDDM 3.1 Hardware Scheduling: DriverSupportState:Stable Enabled:True Displayable: Supported Graphics Preemption: Pixel Compute Preemption: Dispatch Miracast: Not Supported by Graphics driver Detachable GPU: No Hybrid Graphics GPU: Discrete Power P-states: Not Supported Virtualization: Paravirtualization Block List: No Blocks Catalog Attributes: Universal:False Declarative:True Driver Attributes: Final Retail Driver Date/Size: 6/1/2024 2:00:00 AM, 799776 bytes WHQL Logo'd: Yes WHQL Date Stamp: Unknown
Have you updated Visual Studio to the latest version? It might sound trivial.
Does Visual Studio provide more information about the exception, such as a stack trace or other details?
Hi, @davilovick VS is updated with the latest version
No use full stack trace is provided when you debug the program from VS
Running the program without the debugger and attaching it later provides this info
Unhandled exception at 0x00007FFBF24951C5 (Microsoft.ui.xaml.dll) in TestMaui2024.MAUI.exe: 0xC000027B: An application-internal exception has occurred (parameters: 0x000001E009D89BC0, 0x0000000000000003).
Other info
Updating all the Evergine nuget packages 2024.6.28.320 and MAUI packages the problem is the same
Wow, it's a little bit strange that it failes in this method...
Let me know if adding the following line in your MyScene.CreateScene()
method solves your issue:
this.Managers.RenderManager.FindRenderFeature<MeshRenderFeature>().FindMeshProcessor<Evergine.Framework.Graphics.Batchers.DynamicBatchMeshProcessor>().IsActivated = false;
Hi @davilovick, adding the line you suggested it works. Now I modified the project a little, moving the Evergine view on a dedicated page. It works fine on Windows, but when I try with an Android emulator it crashes as soon as I open the Evergine page.
We are in the process of launching a new Evergine minor version that improves Android lifecycle management with MAUI, among other platforms. This will only apply changes to the launcher projects, so you will need to update the code that you already have.
Check the EverSneak project to see some changes (this code is more complex because it keeps the Evergine resources in memory when you perform a view change).
Thank you @davilovick , I will check the EverSneak project and I will let you know if the issue with my modified project is fixed
Hi, I built a simple MAUI app with the project template and added two CubeMesh. When I test it on a windows machine and move the mouse in the client area it crashes (unhandled win32 exception)
TestMaui2024.zip