Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SLua Make UnityEngine error. Unity3D version 2019.4.1f1 #307

Open
lvshiling opened this issue Jun 27, 2020 · 2 comments
Open

SLua Make UnityEngine error. Unity3D version 2019.4.1f1 #307

lvshiling opened this issue Jun 27, 2020 · 2 comments

Comments

@lvshiling
Copy link

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;
		}
@zhoujinzhi
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants