Closed Peaj closed 4 years ago
It doesn't reproduce on Unity 2018.3.10f1 nor 2019.1.0b9. Could you try upgrading Unity version?
I'm closing this issue. Please feel free to reopen for further problems.
It seems to be crashing my unity 2019.3.14 now.
Don't set duration while system is playing! Don't set duration while system is playing! ... Don't set duration while system is playing! Don't set duration while system is playing! StackOverflowException: The requested operation caused a stack overflow. (Filename: <23a7799da2e941b88c6db790c607d655> Line: 0)
Allocation of 512 bytes at 0000019C00000010 TLS Allocator ALLOC_TEMP_THREAD, underlying allocator ALLOC_TEMP_THREAD has unfreed allocations, size 512 Internal: Stack allocator ALLOC_TEMP_THREAD has unfreed allocations, size 512 (Filename: C:\buildslave\unity\build\Runtime/Allocator/StackAllocator.cpp Line: 190)
To Debug, enable the define: DEBUG_STACK_LEAK in StackAllocator.h. This will output the callstacks of the leaked allocations (Filename: C:\buildslave\unity\build\Runtime/Allocator/StackAllocator.cpp Line: 192)
Allocation of 512 bytes at 0000019C00000010 Assertion failed on expression: 'o != NULL' Stacktrace:
at 1<UnityEngine.UIElements.UIR.Transform3x4>,Unity.Collections.NativeArray
11<UnityEngine.UIElements.UIR.Transform3x4>,Unity.Collections.NativeArray
1
@gackt2 I can understand your frustration, but please don't try spamming here.
I edited the comment to remove non-essential information.
Oops sorry. It wasn't meant to be spam. That's actually how many messages it spat out into the crash log.
Is there a way to attach a .txt or .log to these GIT messages?
@gackt2 The issue doesn't reproduce on my side. Please make sure that you're using the latest version.
Using Unity 2018.3.6f1 the ParticleSystemControlMixer throws multiple errors:
Don't set random seed while system is playing! Don't set duration while system is playing!
It seems like using particleSystem.useAutoRandomSeed, particleSystem.randomSeed or main.duration during playmode is not allowed.
Despite the error the code seems to work as intended in play mode (not sure about build). If I change the code to only set the random seed and duration if in edit mode the particles instantly disappear after emission.
I know this has been build and tested for Unity 2018.2 but it would be great if it would work in the current version two.
Thanks for this great tool btw!