When Building WebGL using Unity 2022.3.21f it gives error and does not play video. The exact error is as follows : The JavaScript function 'Pointer_stringify(ptrToSomeCString)' is obsoleted and will be removed in a future Unity version. Please call 'UTF8ToString(ptrToSomeCString)' instead.
Your Setup (please complete the following information):
Unity version: Unity 2022.3.21f
AVPro Video version (number and edition (trial/core/ultra/enterprise)): Core 2.9.3
Operating system version: Mac Sonoma 14.2
Device model: Macbook Pro M1 Pro
Video specs (resolution, frame-rate, codec, file size):
The purpose of reporting this issue is to help fellows who are facing similar problem. Here is how i resolved the issue.
Go to AVProvideo > Plugins > WebGL
You will find "AVProVideo.jslib", open that file.
In line number 69, it is line number 69 - I haven't modified anything. You will find "Pointer_stringify" just replace it with "UTF8ToString". Save the file and build the project again.
When Building WebGL using Unity 2022.3.21f it gives error and does not play video. The exact error is as follows : The JavaScript function 'Pointer_stringify(ptrToSomeCString)' is obsoleted and will be removed in a future Unity version. Please call 'UTF8ToString(ptrToSomeCString)' instead.
Your Setup (please complete the following information):
To Reproduce