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
- AI Assistant upgrade banner's `Open package Manager` link doesn't work
- Sub-asset UI does not refresh when undoing Renderer Feature add or remove actions in a URP Renderer asset
- Scene flickers with a green tint when using Screen Space Ambient Occlusion and Contact Shadows with raytracing
- Scripts with null Components on GameObjects are not removed when calling GameObjectUtility.RemoveMonoBehavioursWithMissingScript
- Color Curve Key values remain visible after changing Curve type
Add comment