diff --git a/unity/RLottieUnity/Assets/LottiePlugin/Runtime/src/LottieAnimation.cs b/unity/RLottieUnity/Assets/LottiePlugin/Runtime/src/LottieAnimation.cs index 4fc9802..d69daba 100644 --- a/unity/RLottieUnity/Assets/LottiePlugin/Runtime/src/LottieAnimation.cs +++ b/unity/RLottieUnity/Assets/LottiePlugin/Runtime/src/LottieAnimation.cs @@ -109,7 +109,7 @@ private unsafe void CreateRenderDataTexture2DMarshalToNative(uint width, uint he (int)_lottieRenderData.width, (int)_lottieRenderData.height, TextureFormat.BGRA32, - 0, + -1, false); _pixelData = Texture.GetRawTextureData(); _lottieRenderData.buffer = _pixelData.GetUnsafePtr();