UnityNinja Community
Would you like to react to this message? Create an account in a few clicks or log in to continue.

UnityNinja CommunityLog in

UnityNinja - Video Game Development Community, including Resources, Forums, Marketplace & More.


Recourses from TUT 4

power_settings_newLogin to reply
+26
QlassyUnicorn
ryan111111111111111111
skrumba24
sam002fc
Mallot1
ganeshgautam20
ankur5426
developer23
ihateu
andrew154
11111111111111111111111
THE gamerbanana
aatif
michellebillones17
suffian
bobjoey123*
shijin mohammed
trojqan1980
carterrocks
adasaro
NewDeveloper
blazinggamesdevelopment
zWilliamTM
baguy
bnaya12
MisterNinjaBoy
30 posters

descriptionRecourses from TUT 4 - Page 2 EmptyPlease help????

more_horiz
Hi ive been following your tutorials but keep coming across three issues bellow any thought on what can be causing them would be great. Smile

1)
UnassignedReferenceException: The variable weaponTarget of 'Gun' has not been assigned.
You probably need to assign the weaponTarget variable of the Gun script in the inspector.
Gun+<FireOneRay>c__Iterator2.MoveNext () (at Assets/Weapons/Scripts/Gun.cs:393)
UnityEngine.MonoBehaviour:StartCoroutine(String)
Gun:MachineGun_Fire() (at Assets/Weapons/Scripts/Gun.cs:217)
Gun:Update() (at Assets/Weapons/Scripts/Gun.cs:112)

2)
UnassignedReferenceException: The variable theBullet of 'PrefabShooting' has not been assigned.
You probably need to assign the theBullet variable of the PrefabShooting script in the inspector.
UnityEngine.Object.Internal_InstantiateSingle (UnityEngine.Object data, Vector3 pos, Quaternion rot) (at C:/BuildAgent/work/d3d49558e4d408f4/artifacts/EditorGenerated/UnityEngineObject.cs:73)
UnityEngine.Object.Instantiate (UnityEngine.Object original, Vector3 position, Quaternion rotation) (at C:/BuildAgent/work/d3d49558e4d408f4/artifacts/EditorGenerated/UnityEngineObject.cs:83)
PrefabShooting.Update () (at Assets/Tutorial 5/Tutorial 5/PrefabShooting.js:9)

3)
NullReferenceException: Object reference not set to an instance of an object
AimDownSights.Update () (at Assets/Scripts Package TUT 4/AimDownSights.js:11)

descriptionRecourses from TUT 4 - Page 2 EmptyRe: Recourses from TUT 4

more_horiz
trojqan1980, if you have any problems then please make a post in the help section of the forum.

--New Developer

descriptionRecourses from TUT 4 - Page 2 EmptyRe: Recourses from TUT 4

more_horiz
i cant download the gunscript because i cant open the adf.ly/QhbYM pls giv me another link (not any adf.ly) pls:?: Question Question  

descriptionRecourses from TUT 4 - Page 2 EmptyRe: Recourses from TUT 4

more_horiz
where is the "gun" script. i downloaded the package and it only had "aim down sites", "gun movement", and "hide cursor"

descriptionRecourses from TUT 4 - Page 2 EmptyRe: Recourses from TUT 4

more_horiz
where is script link its just a adfly nothing else Sad where to download code

descriptionRecourses from TUT 4 - Page 2 Emptycant dl the tutorial 4 asset

more_horiz
i cant download the file in the link you have given for tutorial 4 please help. thank you..

descriptionRecourses from TUT 4 - Page 2 EmptyRe: Recourses from TUT 4

more_horiz
I cant download it

descriptionRecourses from TUT 4 - Page 2 EmptyRe: Recourses from TUT 4

more_horiz
help my gun doesnt aim down the sights it just zooms in i set the position of my arms in the aimdownsights .js but it just zooms rather than aiming down the sights : Mad

descriptionRecourses from TUT 4 - Page 2 EmptyRe: Recourses from TUT 4

more_horiz
Like your vids so much

descriptionRecourses from TUT 4 - Page 2 EmptyRe: Recourses from TUT 4

more_horiz
how do i use it

descriptionRecourses from TUT 4 - Page 2 EmptyRe: Recourses from TUT 4

more_horiz
privacy_tip Permissions in this forum:
You cannot reply to topics in this forum
power_settings_newLogin to reply