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
- [OpenGLES][XR] Zooming in on the camera's URP opaque texture causes "double vision" on Quest in OpenGLES3
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
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