Search Issue Tracker

Fixed in 11.0.0

Votes

0

Found in [Package]

10.3.0

Issue ID

1294180

Regression

Yes

[ErrorFeedback] Strips with a Capacity*ParticlePerStrip value of over 1,000,000 throw a console error.

Package: Visual Effect Graph

-

Repro steps:
1. Import the attaches asset, or create a new system which is using particle strips.
2. Make sure the capacity*particle count exceeds 1,000,000.
3. Observe the console errors

Expected outcome:
- No errors and the in-graph error feedback to display the warning about having more than 1,000,000 particles.

NullReferenceException: Object reference not set to an instance of an object
UnityEditor.VFX.UI.VFXView.RegisterError (UnityEditor.VFX.VFXModel model, UnityEditor.VFX.VFXErrorOrigin errorOrigin, System.String error, UnityEditor.VFX.VFXErrorType type, System.String description) (at D:/Projects/VFX/SRP - Other/com.unity.visualeffectgraph/Editor/GraphView/Views/VFXView.cs:633)
UnityEditor.VFX.VFXErrorManager.RegisterError (UnityEditor.VFX.VFXModel model, UnityEditor.VFX.VFXErrorOrigin errorOrigin, System.String error, UnityEditor.VFX.VFXErrorType type, System.String description) (at D:/Projects/VFX/SRP - Other/com.unity.visualeffectgraph/Editor/Models/VFXErrorManager.cs:46)
UnityEditor.VFX.VFXInvalidateErrorReporter.RegisterError (System.String error, UnityEditor.VFX.VFXErrorType type, System.String description) (at D:/Projects/VFX/SRP - Other/com.unity.visualeffectgraph/Editor/Models/VFXErrorManager.cs:68)

Notes:
- looks like it's caused by the error feedback improvement, but it's not accounting for strips, only for regular particles.

Add comment

Log in to post comment

All about bugs

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