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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment