This error is popping up in defold when opening the html5 debug version of the game with url params.
Expected behaviour
Read url params
Actual behaviour
crashes as soon as a url parameter is given
Steps to reproduce
Read in the url parameter on game.script
local player = html5.run("try{(document.URL.match(/player=([a-z,A-Z])\\w+/)[0]).split('=')[1];}catch(err){}")
opening the game in html5 debug mode will throw an error in defold.
java.nio.file.InvalidPathException: Illegal char <?> at index 10: index.html?player=test
This error is popping up in defold when opening the html5 debug version of the game with url params.
Expected behaviour
Read url params
Actual behaviour
crashes as soon as a url parameter is given
Steps to reproduce
Read in the url parameter on game.script
local player = html5.run("try{(document.URL.match(/player=([a-z,A-Z])\\w+/)[0]).split('=')[1];}catch(err){}")
opening the game in html5 debug mode will throw an error in defold.
java.nio.file.InvalidPathException: Illegal char <?> at index 10: index.html?player=test
related? https://github.com/defold/editor2-issues/issues/2220