Search Issue Tracker
Fixed in 5.5.2
Votes
1
Found in
5.5.0f3
Issue ID
876169
Regression
Yes
An error NullReferenceException shows up, when Inherit Velocity is set to less or more than 0 and Rigidbody2D is set to Dynamic
Reproduction steps:
1. Open the attached project "inheritVelocity_rigidbody.zip";
2. Open the scene "test";
3. Click on ParticleSystem_test -> ParticleSystem -> Inherit Velocity;
4. Change the setting "Multiplier" and observe the Console window;
5. Click on ParticleSystem|_test -> Rigidbody2D ->Body Type;
6. Change the setting from Dynamic to Kinematic or Static and observe the Console window;
Actual result: the errors "NullReferenceException: Object reference not set to an instance of an object" and "Unexpected top level layout group! Missing GUILayout.EndScrollView/EndVertical/EndHorizontal?" show up.
Expected result: the errors should not show up. A note by the Inherit Velocity "Inherit velocity requires interpolation enabled on the rigidbody to function correctly" should show up.
Note: the errors appear when Rigidbody2D Body Type is set to Dynamic and ParticleSystem Inherit Velocity Multiplier is set to more or less than 0. With other Body Types, everything works correctly. Also, with Rigidbody component, the errors do not show up.
Reproduced with: 5.5.0b1, 5.5.0f1, 5.6.0b6
Not reproducible: 5.5.0a1
Regression introduced in 5.5.0a3
Could not be tested with 5.4 versions because in there Rigidobody2D does not have Body Type setting.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android][Mobile Notifications] The Player freezes or crashes when calling "AndroidNotificationCenter.GetNotificationChannel" every frame
- Tile Palette selected dropdown text does not update when palette is renamed
- ArgumentException thrown and reference to Template gets unset when opening UXML file after editing referenced Template in Play mode
- [iOS][WebGL] Player freezes when multiple properties of a VisualElement are changed at the same time
- Warning 'GetControlID at event ValidateCommand returns a controlID different from the one in the Layout event' is logged when undoing the deletion of an Edited Freeform 2D Light
swiftfinder
Mar 07, 2020 00:36
Looking for a Walmart Supercenter? https://findplacesnearme.com/walmart-supercenter/