Search Issue Tracker
By Design
Votes
0
Found in
5.5.0p4
Issue ID
871421
Regression
No
public variable doesn't update value after adding [Range()]
Steps to reproduce:
1. Open attached project "871421.zip"
2. Open "test" scene
3. Select "Cube" gameObject in the Hierarchy and look at "ChangeMass" script component
4. Enter Play mode
5. Observe console output: rigidBodys mass is 0 even though public variables Range is from 1 to 10
Expected behavior: Public variables value is equal to minimum Range value instead of 0
Actual behavior: Public variables value is 0 even though its Range is set from 1 to 10
Reproducible with: 5.4.4p1, 5.5.0p4, 5.6.0b4
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Particle System only collides with one Terrain Collider at a time when Collision Type is set to 'World'
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
Add comment