PrimeTweenManager.Update() generates garbage #152
-
When digging through the profiler, I noticed that Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi! Is there any chance you're using the But I addressed these allocations in the latest 1.3.0 version, so PrimeTween doesn't allocate now, even with safety checks. |
Beta Was this translation helpful? Give feedback.
Hi! Is there any chance you're using the
PRIME_TWEEN_SAFETY_CHECKS
define in your project? When this define is enabled, PrimeTween performs additional safety checks in Development builds (release builds never allocate GC).But I addressed these allocations in the latest 1.3.0 version, so PrimeTween doesn't allocate now, even with safety checks.