If i visit web by 192.168.0.2 ,livecharts2 can't render and give errors:
Unhandled Exception:
put_char @ dotnet.native.js:8
dotnet.native.js:8 IndexSizeError: Failed to construct 'ImageData': The input data length is not a multiple of (4 * width).
put_char @ dotnet.native.js:8
dotnet.native.js:8 Aborted(native code called abort())
abort @ dotnet.native.js:8
dotnet.native.js:8 Uncaught RuntimeError: unreachable
at dotnet.native.wasm:0x2403f1
at ___trap (dotnet.native.js:8:194817)
at abort (dotnet.native.js:8:20579)
at _abort (dotnet.native.js:8:98449)
at dotnet.native.wasm:0x53dbd9
at dotnet.native.wasm:0x4e3bfe
at dotnet.native.wasm:0x4dfb99
at dotnet.native.wasm:0x4d2ae9
at dotnet.native.wasm:0x4e2843
at dotnet.native.wasm:0x4e305b
Expected behavior
No response
How to reproduce it (as minimally and precisely as possible)
Thanks, this is a very curious error, most likely not related to localhost. If you can provide a repro of the issue, it will be further troubleshooting.
Current behavior
If i visit web by 192.168.0.2 ,livecharts2 can't render and give errors:
Unhandled Exception: put_char @ dotnet.native.js:8 dotnet.native.js:8 IndexSizeError: Failed to construct 'ImageData': The input data length is not a multiple of (4 * width). put_char @ dotnet.native.js:8 dotnet.native.js:8 Aborted(native code called abort()) abort @ dotnet.native.js:8 dotnet.native.js:8 Uncaught RuntimeError: unreachable at dotnet.native.wasm:0x2403f1 at ___trap (dotnet.native.js:8:194817) at abort (dotnet.native.js:8:20579) at _abort (dotnet.native.js:8:98449) at dotnet.native.wasm:0x53dbd9 at dotnet.native.wasm:0x4e3bfe at dotnet.native.wasm:0x4dfb99 at dotnet.native.wasm:0x4d2ae9 at dotnet.native.wasm:0x4e2843 at dotnet.native.wasm:0x4e305b
Expected behavior
No response
How to reproduce it (as minimally and precisely as possible)
No response
Workaround
No response
Works on UWP/WinUI
None
Environment
No response
NuGet package version(s)
No response
Affected platforms
WebAssembly
IDE
Visual Studio 2022
IDE version
No response
Relevant plugins
No response
Anything else we need to know?
No response