Open Hellfim opened 9 months ago
Hello , I have this issue too, is there any fix?
Edit, Found Fix : pointer_stringify() replacing with UTF8ToString()
Hello , I have this issue too, is there any fix?
Edit, Found Fix : pointer_stringify() replacing with UTF8ToString()
Hi. How you did this?
Edit, Found Fix : pointer_stringify() replacing with UTF8ToString()
To apply this fix you need to fork this repo and manually update all Pointer_stringify into UTF8ToString. I wouldn't say it's a good way.
On my end I actually created a PointerStringify.jspre (you can name yours however you want) file in the Assets/Plugins folder with following content
if (typeof Pointer_stringify === "undefined") {
Pointer_stringify = function (ptr, length) {
return UTF8ToString(ptr);
}
}
It declares Pointer_stringify function in the global scope if it's not declared. This way all requests from all plugins (including GA) which use that Obsolete method don't break and function properly.
Unity removed support for the Pointer_stringify function, thus all code using it produces errors, i. e.: