I get an error that says:
ArgumentException: you are not allowed to call Internal_CreateGameObject when declaring a variable
What is this?
I get an error that says:
ArgumentException: you are not allowed to call Internal_CreateGameObject when declaring a variable
What is this?
Something like this maybe:
var foo = new GameObject(); // no can do
function Start () {...
You can only declare variables outside functions, you can’t run code.
–Eric
I’m using C# I’ll try and find whats causing it. My system runs fine even with that error Its not causing any issues its just annoying lol
fixed it the object it was referencing in another script had the new GameObject after I removed it no more error thanks every one