Search Issue Tracker

By Design

Votes

0

Found in

5.0.0f4

Issue ID

682130

Regression

No

Accessing .transform and .gameObject properties in a MonoBehaviour is still slower than caching the values

Scripting

-

How to reproduce:

1. Open attached project
2. Open scene Main.unity
3. Open up the Profiler window
4. Play the scene
5. Modify the settings of the Access Time Tester component in the Tester gameobject
- Note how the profiler shows the least load when using Caching

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.