I am following the tutorial with my own assets and I have made sure my assets all mirror the tutorial resources.
When I load my game and continue to the scene where my player spawns they are playing the idle state once, no loop. When I try to move them nothing happens. They don't move and they don't animate.
playerTest components include:
-Transform
-Animation
--animation - vb_idle
--animations
--size - 15
----element 0 - walk
----element 1 - run
--Play automatically - enabled
--Animate physics - disabled
--Culling type - Based on Renders
-Character Controller - standard nothing changed when added to the prefab
-Rigid Body
--mass - 1
--drag - 0
--angular drag - 0.05
--use gravity - disabled
--is kinematic - disables
--Interpolate - none
--collision detection - discrete
--constraints
----freeze positions - all enabled
----freeze potation - all enabled
Damage Zone (script) - standard nothing changed when added to the prefab
components added the playerTest at runtime:
Combat Component (script)
Button Player Controller (script)
I also get the following errors:
- 'playerTest(Clone)' AnimationEvent 'Destroy' has no receiver! Are you missing a component?
UnityEditor.DockArea:onGUI()
- 'playerTest(Clone)' AnimationEvent 'Destroy' has no receiver! Are you missing a component?
- NullReferanceException: Object reference not set to an instance of an object
ORKFramwork.Behaviours.ButtonPlayerController.UpdateSmoothedMovementDirection()
Any help would be appreciated. I have been stuck here for days.
You will always fail at what you do not try.
Make sure you have a camera in the scene that's using the main camera tag.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!