-
-
Notifications
You must be signed in to change notification settings - Fork 591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assertion failed on expression: 'ps->array_size()' #278
Comments
The issue is not reproduced on my environment... Environment
I would like to know more about this issue. |
Hello,
I played a bit with this yesterday and found one interesting "solution".
I kept only one particle system in the project for this test.
1. play it in Editor
2. stop project
3. errors appear
However, if I do the following the error disappear:
1. play it in Editor
2. select game object stores the particle system
3. deactivate it
4. activate it again
5. stop project
6. errors are no longer there
It seems if I reinitiate the particle system in runtime it works fine
without errors.
Alternatively, if I switch off the Emission in design time, start the
project and switch on the Emission in Runtime the error is not appear.
Doing some more checks today.
Regards,
Lajos
mob-sakai ***@***.***> ezt írta (időpont: 2023. nov. 8., Sze,
3:55):
… The issue is not reproduced on my environment...
*Environment*
- Package version 4.2.2 (latest)
- Platform: Editor(Windows 10)
- Unity version: 2022.3.7f1
- Project options: Default, built-in pipeline
I would like to know more about this issue.
—
Reply to this email directly, view it on GitHub
<#278 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATXY2Y2VT3IURV5CCNZR2I3YDLYBBAVCNFSM6AAAAAA674IUBKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBQHEZDSMRQG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Bounds of mesh are 0.0.0, that cause this error, I've added this check: UPD: final working code was: if (!float.IsNaN(x) && !float.IsInfinity(x) && x > 0) |
@mitay-walle |
🎉 This issue has been resolved in version 4.6.4 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version 4.6.4 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
@mob-sakai sorry for missleading. I've done more tests and find out that in my case reason was in Noise module + prewarm. No specific parameters, but module enabling itself. Error appear when i restart scene with existing UIParticle and particleSystem emission / noise modules enabled. Important: particle shouldn't be selected when restarting scene |
Describe the bug
I get two errors when I exit play mode.
I saw this problem has been fixed earlier, but it reoccur again in the latest version.
Assertion failed on expression: 'ps->array_size()'
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Coffee.UIExtensions.UIParticleRenderer:UpdateMesh (UnityEngine.Camera) (at ./Library/PackageCache/com.coffee.ui-particle@447996ce0f/Scripts/UIParticleRenderer.cs:330)
Coffee.UIExtensions.UIParticle:UpdateRenderers () (at ./Library/PackageCache/com.coffee.ui-particle@447996ce0f/Scripts/UIParticle.cs:503)
Coffee.UIExtensions.UIParticleUpdater:Refresh () (at ./Library/PackageCache/com.coffee.ui-particle@447996ce0f/Scripts/UIParticleUpdater.cs:80)
UnityEngine.UI.ScrollRect:LateUpdate ()
Mesh '[UIParticleRenderer] Combine Instance Mesh': abnormal mesh bounds - most likely it has some invalid vertices (+/-inifinity or NANs) due to errors exporting.
Mesh bounds min=(0.00, 0.00, 0.00), max=(16001069492125579151405399003889664.00, 79316175099297370989568178471829504.00, 308585124126850166435263369183232.00). Please make sure the mesh is exported without any errors.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Coffee.UIExtensions.UIParticleRenderer:UpdateMesh (UnityEngine.Camera) (at ./Library/PackageCache/com.coffee.ui-particle@447996ce0f/Scripts/UIParticleRenderer.cs:330)
Coffee.UIExtensions.UIParticle:UpdateRenderers () (at ./Library/PackageCache/com.coffee.ui-particle@447996ce0f/Scripts/UIParticle.cs:503)
Coffee.UIExtensions.UIParticleUpdater:Refresh () (at ./Library/PackageCache/com.coffee.ui-particle@447996ce0f/Scripts/UIParticleUpdater.cs:80)
UnityEngine.UI.ScrollRect:LateUpdate ()
To Reproduce
Expected behavior
No errors in the console upon exiting play mode.
Environment (please complete the following)
The text was updated successfully, but these errors were encountered: