slua icon indicating copy to clipboard operation
slua copied to clipboard

SLua Make UnityEngine error. Unity3D version 2019.4.1f1

Open lvshiling opened this issue 4 years ago • 2 comments

Assets\Slua\LuaObject\Unity\Lua_UnityEngine_ParticleSystem.cs(31,23): error CS0165: Use of unassigned local variable 'a1'

		else if(matchType(l,argc,2,typeof(LuaOut))){
			UnityEngine.ParticleSystem self=(UnityEngine.ParticleSystem)checkSelf(l);
			Unity.Collections.NativeArray<UnityEngine.ParticleSystem.Particle> a1;
			self.SetParticles(a1);
			pushValue(l,true);
			return 1;
		}

lvshiling avatar Jun 27 '20 08:06 lvshiling

Assets/Slua/LuaObject/Unity/Lua_Unity_IO_LowLevel_Unsafe_ReadCommand.cs(54,16): error CS0214: Pointers and fixed size buffers may only be used in an unsafe context image

zhoujinzhi avatar Jul 01 '20 03:07 zhoujinzhi

Assets/Slua/LuaObject/Unity/Lua_UnityEngine_Rendering_CommandBuffer.cs(3796,25): error CS1503: Argument 3: cannot convert from 'out UnityEngine.Vector4[]' to 'out float[]' image

zhoujinzhi avatar Jul 01 '20 04:07 zhoujinzhi