- Home /
Unity XR line renderer gets stuck on button,Why does the XR line renderer get stuck to a point after clicking a button?
Hi! I have a canvas with a button in my scene. The button is clicked with XR line renderer. However, after clicking, the end of the line renderer gets stuck on the button, and nothing can be clicked or interacted with. When the line renderer is aimed outside the canvas, it gets back to normal. Once hover on the canvas, it gets stuck to the button automatically. Any help would be appreciated!,Hi! I'm working with XR. I have a canvas in my scene, which has button, which will be clicked with right hand line renderer. What's happening is, after clicking, the line renderer end gets stuck to the point in 3d space where it clicked. Even if I move the controller, or the canvas, the renderer end is stuck. Also, once the renderer is pointing outside the canvas area, it's back to normal. When I hover on the canvas, it goes to the button and nothing can be clicked or interacted with. Have added Tracked device raycaster and UI input module. Any help would be appreciated!
Your answer

Follow this Question
Related Questions
Unity 5.3 canvas scaling - Android 2 Answers
Unity 5.0.1 ios app crashes on load 4 Answers
UnityWebRequest seems to crash application when active on Application.Quit()? 1 Answer
JPG Files, injected with malicious code - What will happen when Unity tries to load them? 0 Answers
How to update apple watch content (from extension) with data from Unity project 1 Answer