I'm running into a bug with my benchmark test where after I call destroys on my sofa clones, the relationship checker seems to still try to evaluate their relationships but of course can't since they no longer have rigidbodies. The odd thing about it though, is the bug seems to appear with some probability of like .15 at each iteration of sofa drops. Any idea what's causing this or a potential fix? My suspicion is that Unity doesn't actually update its list of gameobjects till later and when the sofas update on the same frame as the semantic relationship evaluations it creates some bug. No idea how to fix this if that's the case though. I'll push the latest version of my test with some extra comments.
Hey Sharat,
I'm running into a bug with my benchmark test where after I call destroys on my sofa clones, the relationship checker seems to still try to evaluate their relationships but of course can't since they no longer have rigidbodies. The odd thing about it though, is the bug seems to appear with some probability of like .15 at each iteration of sofa drops. Any idea what's causing this or a potential fix? My suspicion is that Unity doesn't actually update its list of gameobjects till later and when the sofas update on the same frame as the semantic relationship evaluations it creates some bug. No idea how to fix this if that's the case though. I'll push the latest version of my test with some extra comments.
Thanks,
Richard