- Home /
I am stuck and don't know what to do, After upgrading to 2019 mouse and raycast don't work well
I am desperate to fix my issue but I can't find what is wrong ... I upgraded to 2019 from 2018... and it seems my mouse click are all off and ray-cast... is there something different I have to do in order to get my mouse clicks and placement of prefabs onto the grid work as before thanks
Post the code you are using, I cannot think of anything major that has changed though.
Answer by Berir · Sep 02, 2020 at 11:26 PM
after months of stress and headaches I have finally realized what happened, I had my prefab placement preview in fixed update ( because I needed physics to update preview ) with the inputs, But 2019 has improved performance of the engine so much ... that fixed update now lags visibly for my purpose and does not pick my inputs anymore in real time... I had to move all inputs into the update , whilst leaving the physics part inside fixed update ... If anyone has same issues
Your answer
Follow this Question
Related Questions
question about instantiating 2 Answers
How to destroy specific gameobject with a mouse click once player is looking at them using a Ray 1 Answer
How to create gameobjects by clicking in the scene view in the editor? 1 Answer
Click Point From Raycasting Not Yielding Expected Coordinates 1 Answer
Use raycast to click on object 3 Answers