laptop and a wrench

Bug

The tryFatalErrorRecovery() method does not work as expected as it does not clear any fatal errors resulting from a lost WebGL context.

ArcGIS Maps SDK for JavaScript
Bug ID Number BUG-000160714
SubmittedAugust 16, 2023
Last ModifiedDecember 6, 2024
Applies toArcGIS Maps SDK for JavaScript
Version found4.27
Operating SystemN/A
Operating System VersionN/A
StatusNon-Reproducible

Additional Information

This is an asynchronous issue. The tryFatalErrorRecovery() method works correctly when a fatal error has occurred. Use view.watch() to look for a fatal error, and then use the tryFatalErrorRecovery() method. Refer to https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#fatalError for more information. view.watch("fatalError", function(error) { if(error) { console.error("Fatal Error! View has lost its WebGL context. Attempting to recover..."); view.tryFatalErrorRecovery(); } });

Steps to Reproduce

Bug ID: BUG-000160714

Software:

  • ArcGIS Maps SDK for JavaScript

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options