MapView API - WX Radar Projection Cone Angle Not Setting Correctly Under Rare Circumstances

Version: 1.7.27

Frequency: Frequently

Severity: High

Marketplace package name: N/A

Context: 2024-native nextgensim-aircraft-bandeirante in development. Mounted from Community or from Project Editor.

Similar MSFS 2020 issue: N/A

Bug description: When building the MapView for the weather radar, there are times where the MapView API calls to constraint the weather radar cone are either ignored or passed as true in C++ code, but not correctly sent to the sim engine, causing the weather radar returns to be rendered within the 360° cone, instead of the specified in code to correctly mimic the real-life thing. Please see screenshot below.

I restricted the WXR cone here to 90°, but it projects the whole circumference regardless.

Repro steps: This is hard to reproduce to be honest, even with the respective SDK sample. This issue occurs once every… around… the second or third time or so I load the aircraft subject of this report, provided the WASM code is compiled and cached as DLL. Deleting the cached DLL from AppData and forcing the sim to recompile it sometimes helps, but it comes again after some time.

Private attachments: I am sending to (at)PrivateContent the package in question, as well as the WASM source code, both associated with this bug report. If the whole project’s source is required, please let me know via PM.

I look forward to any further reply in this regard. In addition, if I am doing something wrong on the code that causes such a bug, please let me know.

Thank you so much for your help and prompt reply in advance.

Regards,
Carlos Daniel González Gómez
NextGen Simulations

Hello @cdgonzalezgo

@simfan reported a similar issue a few weeks ago:
MapView fsMapViewSetWeatherRadarConeAngleInRadians sometimes not working - [MSFS 2024] Bug Reports / WASM - MSFS DevSupport

I’ll have a look at the package you provided and will try to replicate. :wink:

Regards,
Sylvain

1 Like

Hello @FlyingRaccoon,

Thank you for your prompt reply!
My bad! Why on earth did I not see the other report :sweat_smile:

Anyway, thanks for letting me know you guys received the files. I’ll look forward to further updates from you about this issue.

Cheers! :clinking_beer_mugs:

Regards,
Carlos Daniel González Gómez
NextGen Simulations