Search Issue Tracker

Fixed in Unity 2018.3

Votes

13

Found in

2017.2.0b10

Issue ID

949522

Regression

Yes

"Sub-emitters must be children of the system that spawns them" error is shown even though sub-emitters are correctly parented

Shuriken

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 3Secondary functionality broken

How to reproduce:
1. Open "EmitterIssue" project and "test stage 1..." scene
2. Enter playmode and pause it
3. Observe "Sub-emitters must be children of the system that spawns them" error appearing
4. Double click on the error in the console, it highlights "Debris" GameObject that has two sub-emitters "DebrisSmoke" and "DerisFire" that are correctly parented under "Debris" GameObject

Expected result: Error should not be shown, since "DebrisSmoke" and "DerisFire" sub-emitters are correctly parented under "Debris" GameObject as required in 5.6+ versions

Regression introduced in - 2017.2.0b1
Reproducible with - 2017.3.0a7, 2017.2.0b11, 2017.2.0b1
Not reproducible with - 2017.1.0p2, 2017.2.0a4

Note - Deleting some of the "MediumExplosionFX" prefabs, fixes the issue

Response avatar

richardkettlewell

Jan 25, 2019

We are currently testing a fix for this issue.

Comments (11)

  1. Ddf7cbb7b852458e91af77debc529824?d=mm

    Sarper-Soher

    Mar 11, 2019 20:22

    Still happening in 2017.4.22f1 LTS version

  2. E6c2a001ac895cecc83894b3f4ed45da?d=mm

    CocoJinny

    Nov 15, 2018 08:03

    Only device occurs. unity 2018.2.4f1

  3. 8313946210e4e6c05a927cb2a88ac193?d=mm

    Subhanshu

    Nov 02, 2018 09:38

    This error is occurring in Unity 2018.2.11f1 too.

  4. 20307e94c0cdb27db3154516863ab757?d=mm

    ChubbyBobby

    Sep 17, 2018 15:29

    Also occurs on 2017.4.6f1

  5. D06440e257ba27d2424cc0bc617f3f15?d=mm

    TooManySugar

    Aug 21, 2018 21:00

    Its happening to me too!! :\
    ITs been a year and its happening on 2018.2.0f2
    https://forum.unity.com/threads/regression-sub-emitters-must-be-children-of-the-system-that-spawns-them-949522.494429/

  6. 454c2c8712092f552bf57e275934b704?d=mm

    Leewhitt

    Aug 19, 2018 17:01

    I also have in 2017.3.1f1, even on the standard assets fireworks! Seems to be intermittent though, occasionally they fire off fine.

  7. D4b06d78069fca3f00ca1c29c322b2f3?d=mm

    mostlyhuman

    Aug 03, 2018 04:11

    Problem still exists in Unity 2018.2.1f1, it appears to also cause a nasty memory leak. Again when this happens if you click on one of the parent particle systems in the scene and then go under subemitters and click the linked gameobject in the field it will highlight the child emitters location in the scene hierarchy and you can see it will be under the wrong parent and not the expected parent. So somehow they are being jumbled and assigned the wrong parent, this only happens when they are instantiated through code. If you drag them in as prefabs they maintain their correct relationship.

  8. Fd4377ab80a8e5f207d2b403533eb28c?d=mm

    shawnp

    Jul 20, 2018 14:02

    I am seeing this issue on 2017.3.1.f1 Personal... It started happening today after I opened up my project. No changes had been made, so I can't give you any helpful steps to reproduce it. It doesn't seem to break anything though, just has an error message.

    It it highlighting a regular scene object and the sub-emitters are clearly child objects of the system. Hope that helps.

  9. B388a33b7f780c80e1d9dd1efc66d2f2?d=mm

    Justin-Wasilenko

    Jul 12, 2018 12:07

    I have this as well in 2018.1.6. Doesn't seem to affect anything. Just displaying a error message.

  10. D4b06d78069fca3f00ca1c29c322b2f3?d=mm

    mostlyhuman

    Mar 28, 2018 13:31

    Update: even though these are being instaniated from a prefab, i have found that when many are spawned the children are actually being assigned to the wrong parent which is triggering the error. once they are all spawned while in play mode, if you look at one of the parent particle systems in the scene and then go under subemitters and click the linked gameobject in the field it will highlight the child emitters location in the scene hierarchy and you can see it will be under the wrong parent and not the expected parent.

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.