WebGL Build strange exception
Hey there community,
out team created a small WebGL project with an PHP Interface to our SQL Database. In Unity everything works just fine (registration, login, updating player data...).
As soon as we build our WebGL Build, we were able to go through the registration form and create a new user. But as soon as we continue to the login function, the following exception appears:
"IndexOutOfRangeException: index was outside the bounds of the array" "> System.String.get_Chars (System.Int32 index) (at <00000000....>:0)"
My first thought was, that the MySQLi method does not work properly via WebGL, but again, we were able to register an new user.
For Debugging, we've tried to make a Standalone PC Build, and again, everything works just fine. It has to be something in WebGL.
Perhaps someone here might know, whats the issue is? Did we miss something?
Our Unity ver. is 2018.3.0f2
Best, Tony
Your answer
Follow this Question
Related Questions
C# Project in Unity (web game) crossed with PHP and MySQL 0 Answers
C# safe connect to MySQL database. Download and upload data via PHP script. 1 Answer
Can I add a table to a mySQL database using C#? 0 Answers
Why is MySQL search query not returning each row in 1 index of an array? 0 Answers
500 Internal server error in WWWForm 0 Answers