Mervill / Unity3D-NLua

Everything you need to get started using Lua in Unity3D. Indie & Pro compatible.
Boost Software License 1.0
190 stars 50 forks source link

Getting compilation error after opening the project in unity #23

Open JoyalJos opened 5 years ago

JoyalJos commented 5 years ago

Downloaded the project and added the scripting symbols mentioned in the instruction . But i am still getting some compilation errors

Assets/NLua/GenerateEventAssembly/CodeGeneration.cs(441,32): error CS0246: The type or namespace name 'TypeBuilder' could not be found (are you missing a using directive or an assembly reference?) Assets/NLua/GenerateEventAssembly/CodeGeneration.cs(63,11): error CS0246: The type or namespace name 'AssemblyBuilder' could not be found (are you missing a using directive or an assembly reference?) Assets/NLua/GenerateEventAssembly/CodeGeneration.cs(64,11): error CS0246: The type or namespace name 'ModuleBuilder' could not be found (are you missing a using directive or an assembly reference?)

jurek1029 commented 5 years ago

Try switching your configuration to .net3.5 in unity project. Worked for me

codematters68 commented 4 years ago

Thank you @jurek1029 . Worked for me too!

1710537013 commented 3 years ago

this worked for me too! ,thank you! @jurek1029