Can't run webGL Unity

TypeError: zappar.projection_matrix_from_camera_model_ext is not a function,TypeError: zappar.projection_matrix_from_camera_model_ext is not a function

unity 2020.3.18f
when I change to 2019 i found error

wasm streaming compile failed: CompileError: WebAssembly.instantiateStreaming(): expected magic word 00 61 73 6d, found 1f 8b 08 18 @+0
link sample project

Hello @pop.podmenyou

The error seems to be related to WebAssembly Streaming and MIME types served by the zappar servers. To put it bluntly our servers are not optimized to serve any particular type of compression for the builds, hence we always recommend to enable “Decompression Fallback” when using either Gzip or Brotli. However this option is only available from Unity 2020 and above.

Thus I would suggest you follow these options:

  1. On Unity 2019 disable WebAssembly Streaming.
  2. On Unity 2020 and above enable Decompression Fallback option when using either Gzip or Brotli compression format.

This should fix the error or else I am gonna need a minimum reproducible project to further investigate the matter.