Search Unity

Bug sub emitter is part of prefab and can "therefore" not be assigned

Discussion in 'Physics' started by laurentlavigne, Dec 14, 2023.

  1. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,354
    I love the "therefore". It's like "off course these two completely unrelated statements are joined at the hip, you dummy"

    upload_2023-12-14_12-32-31.png

    But besides the rather humorous tone of the popup, how are we supposed to use prefabs and shuriken sub emitters?
    I mean I don't mind making another particlecollisionevents script but it seems that jumping back up to the precious main thread is wasteful when shuriken is so well jobified.
     
  2. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,354
    I think it's a bug so I reported it : IN-63496
     
    jrabago likes this.
  3. bugfinders

    bugfinders

    Joined:
    Jul 5, 2018
    Posts:
    1,761
    sometimes the prefab annoys me with things like that, its supposed to be like a cookiecutter stamp out 500 mobs of the same idea, not, making our life harder and I think i saw something about the prefab and particle emitter and a prefab
     
  4. MelvMay

    MelvMay

    Unity Technologies

    Joined:
    May 24, 2013
    Posts:
    11,463
    You should post particle system questions on the General Graphics forum. No physics teams are involved in it.
     
  5. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,354
    o_O
    ...
    oh you're serious
    I want to see Unity's org chart so bad now.

    Yeah it's an editor bug. emitter can only access instantiated sub-e, it works when the sub-e and emitter are in the same prefab because then both are instantiated at the same time but sometimes the editor thinks the sub-e is in a separate prefab. No biggy, just shake it and it works.
     
  6. MelvMay

    MelvMay

    Unity Technologies

    Joined:
    May 24, 2013
    Posts:
    11,463
    Well, yes! Particles, prefabs, sub-emitters, dialog messages (etc) are clearly not a physics subject.

    Particles are a graphics feature, not a feature of the physics engines. The same as when we incorrectly get 2D UI, 2D Audio or Texture2D questions asked on the 2D forum and move posts from there or ask devs to post in the correct forums. The point of the dedicated feature forums such as "Physics" is to be a place to ask about those features only, in this case 2D & 3D physics.

    If you want to ask about the particle system then please ask on the General Graphics forum and add the "particles" tag. If you're unsure, then do what most devs do which is post either in Editor & General Support or Scripting. ;)

    Thanks.