Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.2.0b4
Issue ID
1041278
Regression
No
float4 component access via index operator [] is 10x slower than accessing via name like .x
Steps to reproduce:
1) Open the attached project.
2) Run the test scene.
In the console, messages, indicating access times of float4 components via indices and via names. Example:
Slow access took: 0.2612138
Fast access took: 0.02339911
The access time when accessing via indices is around 10 times slower. This behaviour can be observed on both the editor and standalone.
Reproduced on :
2018.3.0a1, 2018.2.0b4
Tested on macOS and Windows.
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (2019.1.X):
Won't fix, the fact that it is much slower outside of burst cannot be avoided, cannot be optimized and is not meant to