FragMate CommunityLog in

FragMate - Software and Game Developer Community, including Resources, Forums, Marketplace & More.


descriptionHelp pls, FPS Constructor Problem :(

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 

descriptionRe: Help pls, FPS Constructor Problem :(

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.
Permissions in this forum:
You cannot reply to topics in this forum