Closed unitycoder closed 4 years ago
current workaround is to not allow resize or rotation.. (or reload scene after screen resize)
I am using this plugin to develop VR application, and i have this problem ,too. When I grab the quad(Paint Board) to move, I could not paint or paint line in chaos.
could try replacing anything with Screen.width and Screen.height, with your own fixed resolution
What is wrong with it?
test disabling [x] connect lines or so, cant remember right now what was that issue, maybe in forum thread had something about it..
I find RaycastHitInfo.textureCoor is Vector2.zero sometimes.May be because of it. i disable connect lines and only could paint point instead of line.
I solved it. something with same layer upon it.
ok. yes, if raycast hits something else that could happen.
Because Screen.width is used on some parts of the code (values are taken before resize, and they are not updated on resize)