How should I go about detached entities?

In short - I have AR app (Unity, ARCore, Android), and I see objects come and go because of ARCore tracking stopping/resuming. This freaks out Bolt and it starts throwing exceptions `You can't access any Bolt specific methods or properties on an entity which is detached`

When I try to explicitly check `isAttached`, it throws this exception, too.

How shall I check whether the entity is not attached if accessing isAttached throws an exception if it's not attached? I also catch it, but it nevertheless triggers network shutdown.

And what shall I do about detached entities? Is there a way to destroy/release them?

Comments

  • If you can send us a project with the issue we can take a look, I'm not familiar with the use case.
Sign In or Register to comment.