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.
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.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment