Search Unity

Resolved Particle systems and the MARS simulator?

Discussion in 'Unity MARS' started by Tryll, May 4, 2021.

  1. Tryll

    Tryll

    Joined:
    Oct 16, 2015
    Posts:
    30
    Should particle systems be working OK in MARS and the MARS simulation view?

    In my initial tests I'm seeing console errors like:
    "Calling BeginWrite before EndWrite"


    Is that to be expected? Thanks for clarifying.
     
  2. jmunozarUTech

    jmunozarUTech

    Unity Technologies

    Joined:
    Jun 1, 2020
    Posts:
    297
    hello @Tryll,

    interesting, could you tell us what are you trying to do and share with us the repro steps and provide us the full stack trace of that error to investigate more?.

    Thanks!
     
  3. Tryll

    Tryll

    Joined:
    Oct 16, 2015
    Posts:
    30
    I'll take that as "As far as we know it should be working."
     
  4. Tryll

    Tryll

    Joined:
    Oct 16, 2015
    Posts:
    30
    Basically, I attached a particle system to an image marker, and then added a simulation image marker to my simulation.
    I believe it has to do with pressing play for the scene while the simulation view is open.
     
  5. jmunozarUTech

    jmunozarUTech

    Unity Technologies

    Joined:
    Jun 1, 2020
    Posts:
    297
    @Tryll, yes it should work.

    I just did what you did, created a synthetic image marker and placed it in my environment, created an image marker and added a particle system, pressed play on the editor and the particle system works.
    This is with simulation view on play mode (and simulating all layers)
    Screen Shot 2021-05-05 at 10.11.12 AM.png

    And this is with the editor on play mode:
    Screen Shot 2021-05-05 at 10.09.23 AM.png

    I kept the simulation view open an and pressed play and as you can see and I am not getting any errors.

    What platform are you building for, what version of mars, what version of Unity and what OS are you using?
     
  6. Tryll

    Tryll

    Joined:
    Oct 16, 2015
    Posts:
    30
    Sorry, that for the information.

    My first MARS project was being built on top of an AR/XR project. I think there may have been a conflict.

    Since you had indicated it should be working I've built up a new project, and am testing there. The new project is not generating errors.

    Thanks for confirming.
     
    jmunozarUTech likes this.