Search Issue Tracker
Won't Fix
Votes
0
Found in
5.6.1f1
Issue ID
932531
Regression
No
The function "GetComponentInParent" returns null when the parent object is networked
Reproduction steps:
1. Open the attached project;
2. Build the scenes on Standalone platform;
3. Open the built project;
4. Click "LAN Host(H)" button and then "Change Scene: Network" button;
Actual result: ChildB.FindParentExternal.GetComponentInParent<ScriptParent>() is null.
Expected result: ChildB.FindParentExternal.GetComponentInParent<ScriptParent>() should not be a null.
Note: If you click "Change Scene:Local" button, everything would work fine, because in this scene the parent object is not networked. The issue does not appear in Editor. The bug occurs on Android platform too.
Reproduced with: 5.4.5p4, 5.5.4p2, 5.6.2p4, 2017.1.0p1, 2017.2.0b3
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Objects flickering in Play Mode when using RenderTexture with Canvas
- UI Toolkit 'background-size' property is not fully animatable
- Moving the Scrollbar via clicking no longer works after the first-click when page size is too small
- Elements in UI Builder Viewport are displayed incorrectly when Editor UI Scaling is set to 125%
- Prefab referencing a script is not shown in the Search window's Project tab when using "Find References In Project"
Resolution Note:
Mass closure of UNET Bugs.
As UNet is Deprecated we are moving to low maintenance mode, where critical issues can get fixes.
Closing this bug as part of cleaning-up the Bug List.
If you feel this bug is really a road-blocker, you can reopen the bug and we will work this one.