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] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- Constant console errors when using Min/Max Slider in PlayMode
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- [Linux] AutoLocale log is logged when opening a project
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
swiftfinder
Mar 07, 2020 00:36
Looking for a Walmart Supercenter? https://findplacesnearme.com/walmart-supercenter/