I have experienced some trouble when deleting an AR object with the new SelectionInteractable - Script on it placed in the scene. Is this an expected behavior? Or has somebody managed to delete such placed prefabs without bricking the scene?
The main problem with this after placing and only hiding the objects instead of destroying them the scene will slow down fast.
Hello,
This was pointed out to us and is in our backlog. Some of our classes don’t actually clean up all their references and registrations, and I need to do a pass on that in the very near future.
Has this been fixed?! I have the latest Unity 2019.3 and XRToolkit 0.9.3 and anytime I delete an object than has some Interactable components on it it bricks the scene and nothing works anymore. This is a blocker. Am I missing something? Thanks much.
Hi,
could you please show me your deletion objects part of codings?. i have already had selection, rotation, and scaling function. but i havent found out the coding for deleting objects. already browsed the almost entire youtube and google still not yet found the solution…
Hi,
could you please show me your deletion objects part of codings?. i have already had selection, rotation, and scaling function. but i havent found out the coding for deleting objects. already browsed the almost entire youtube and google still not yet found the solution…
Hey @roslim ,
The error behavior from the original thread when deleting objects should be properly handled now. XRI is cleaning up any of the references under the hood that were causing problems before. You will need to update to a newer version of the XRI Toolkit to take advantage of these fixes (currently at 2.1.0-pre.1).
In terms of deleting the object, you can just use the standard Unity convention: gameObject.Destroy(). Let us know if you have any other questions.
sorry for my fool question, i am very new to this.
i dont get what you mean. i just followed some tutorials on youtube, how to spawning objects and then using xr interaction to select, rotate, and scale object, and those scripts which related already provided by xr interaction toolkit right?. my problem is i dont understand how to make selection on spawned object in order to delete the object by clicking the delete button i created, as it is not included in video. thank you