Unity Ninja Unity 3D Forum
To have exclusive access to all downloads, recourses and links within this forum, a free registered account is required. Just a heads up Wink
Go down
Member [Lv. 1]
Member [Lv. 1]
Posts : 2
Points : 1623
Rep : 0
Join date : 2014-02-16
View user profile

Help pls, FPS Constructor Problem :(

on Sun Feb 23, 2014 11:48 am
When i placed FALDrop on my table, and when i started game, i get error, it writes:

UnassignedReferenceException: The variable weapon of 'SelectableWeapon' has not been assigned.
You probably need to assign the weapon variable of the SelectableWeapon script in the inspector.
UnityEngine.GameObject.GetComponent (System.String type) (at C:/BuildAgent/work/d3d49558e4d408f4/artifacts/EditorGenerated/UnityEngineGameObject.cs:35)
SelectableWeapon.Start () (at Assets/Plugins/FPS Constructor V1/ScriptsDB/WeaponScripts/SelectableWeapon.js:20)

Any help pls?  Question 
Posts : 608
Points : 3170
Rep : 406
Join date : 2013-12-11
Age : 21
View user profilehttps://www.youtube.com/user/misterninjaboy

Re: Help pls, FPS Constructor Problem :(

on Sun Feb 23, 2014 7:23 pm
Hmm, well i've never really used FPS constructor myself, but from the error that I'm reading, it seems as though a variable is not defined. I recommend you click on the 'SelectableWeapon' Script, then if there is a variable that is missing, that is probably called weapon, assign the variable with the FALdrop.
Back to top
Permissions in this forum:
You cannot reply to topics in this forum