Search Issue Tracker
Fixed in 7.1.0
Votes
0
Found in [Package]
6.8.0
Issue ID
1168650
Regression
No
[Nodes] Radians/degrees mismatch between Rectangular to Spherical and Spherical to Rectangular
Repo steps:
1. Plug a particle position into a 'Rectangular to Spherical' node
2. Plug the output from 1 into a 'Spherical to Rectangular' node
3. Set the new position value back to the particle position
4. Observe that the particle is no longer where it was.
Expected outcome: the two nodes to negate each-other.
Note:
- Looks like Rectangular to Spherical is outputting theta and phi in radians, but Spherical to Rectangular is trying to convert degrees to radians:
return new[] { VFXOperatorUtility.SphericalToRectangular(VFXOperatorUtility.DegToRad(inputExpression[0]), VFXOperatorUtility.DegToRad(inputExpression[1]), inputExpression[2]) };
Probably removing the two VFXOperatorUtility.DegToRad operators will resolve this.
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
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
Resolution Note (fix version 7.1.0):
Resolved in package version 7.1.0.