I have a hosted Blazor WebAssembly app with the render mode set to InteractiveAuto. When I start the app, I intermittently (but more often yes than no) get the following exception in the development console:
blazor.web.js:1 ManagedError: One or more errors occurred. (Operation is not supported on this platform.)callEntryPoint @ blazor.web.js:1await in callEntryPointHr @ blazor.web.js:1await in HrFr @ blazor.web.js:1startWebAssemblyIfNotStarted @ blazor.web.js:1resolveRendererIdForDescriptor @ blazor.web.js:1determinePendingOperation @ blazor.web.js:1refreshRootComponents @ blazor.web.js:1(anonymous) @ blazor.web.js:1setTimeoutrootComponentsMayRequireRefresh @ blazor.web.js:1startLoadingWebAssemblyIfNotStarted @ blazor.web.js:1I have tried everything—commenting out sections in Program.cs, creating a dummy layout without the pages etc.—but nothing helps. What I haven’t tried yet is removing project references (class libraries) from the client project. However, none of the methods in these libraries are being called, and I have also commented out any dependency injection usage of these classes.
I am at a loss for how to figure out what is going on. Any advice would be greatly appreciated. Thank you!