Open edgarasx opened 1 year ago
Still could be reproduced in 15.0-dev807.
const webview = new alt.WebView('url: does not matter which link', alt.hash('v_ilev_cin_screen'), 'script_rt_cinscreen');
webview.size = new alt.Vector2({ x: 1280, y: 720 });
Game crashes in few seconds of code execution.
Currently can be fixed by editing script_rt_cinscreen
texture size into 1280x720. Default is 512x256. When alt.WebView
loads texture, webview gets texture size automatically and you don't need use webview.size
setter.
We are still waiting for the fix in release branch.
Description of the problem
Client crashes when rendering webview on game object and then changing the webviews size.
Reproduction steps
Expected behaviour
Should not crash
Additional context
Sometimes the client crashes right away, sometimes a weird texture appears instead of webview
Operating system
Windows 10
Version
15.0-rc21
Crashdump ID
a1cd378b-13f0-4532-87c9-ba08ac1a2cef
Reproduction tested