Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ObjectCollection does not remove moved GameObject that is a DeepChild but not a direct child from NodeList #1885

Closed
MSDNAndi opened this issue Mar 27, 2018 · 0 comments
Projects

Comments

@MSDNAndi
Copy link

MSDNAndi commented Mar 27, 2018

Overview

The ObjectCollection script maintains a list of nodes to do its calculations on in NodeList. In some cases GameObjects that are not children of the GameObject that ObjectCollection is running on, are considered for calculations.

Expected Behavior

When a GameObject is not a direct child of the GameObject that ObjectCollection is a component of, it should be removed from that list.

Actual Behavior

When a GameObject is a deep child of the GameObject that ObjectCollection is a component of, it should be removed from that list.

Steps to reproduce

Create GameObject GameObject1, add ObjectCollection to GameObject1. Create GameObject2 as Child of GameObject1. Create another GameObject GameObject3 as a sibling of GameObject2.
Use "UpdateCollection" on the GameObject1.
Move GameObject3 to be a child of GameObject2.

Unity Editor Version

2017.2.1.3

Mixed Reality Toolkit Release Version

2017.2.1.3 Hot Fix

@david-c-kline david-c-kline added this to To do in 2017.2.1.4 via automation Mar 27, 2018
@david-c-kline david-c-kline removed this from To do in 2017.2.1.4 Mar 27, 2018
@david-c-kline david-c-kline added this to To do in 2017.2.1.4 via automation Mar 27, 2018
@david-c-kline david-c-kline moved this from To do to In progress in 2017.2.1.4 Mar 27, 2018
2017.2.1.4 automation moved this from In progress to Done Apr 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
2017.2.1.4
  
Done
Development

No branches or pull requests

3 participants