Error CS1525 and Error 8025
Please help me ! error CS1525 :Unexpected symbol '}' error CS8025:Parsing error Make a FPS game and give me error in PlayerMotor.cs
using UnityEngine;
[RequireComponent(typeof(Rigidbody))] public class PlayerMotor : MonoBehaviour {
 [SerializeField]
 private Camera cam;
 
 private Vector3 velocity = Vector3.zero;
 private Vector3 rotation = Vector3.zero;
 private Vector3 cameraRotation = Vector3.zero;
 private Vector3 thrusterForce = Vector3.zero;
 
 private Rigidbody rb;
 
 void Start ()
 {
     rb = GetComponent<Rigidbody>();
 }
 
 // Gets a movement vector
 public void Move(Vector3 _velocity)
 {
     velocity = _velocity;
 }
 
 // Gets a rotational vector
 public void Rotate(Vector3 _rotation)
 {
     rotation = _rotation;
 }
 
 // Gets a rotational vector for the camera
 public void RotateCamera(Vector3 _cameraRotation)
 {
     cameraRotation = _cameraRotation;
 }
 
 //Gets a force vector for our thrusters
 public void ApplyThruster (Vector3 _thrusterForce)
 {
     thrusterForce = _thrusterForce;
 }
 
 //Run every physics iteration
 void FixedUpdate ()
 {
     PerformMovement();
     PerformRotation();
 }
 
 //Perform movement based on velocity variable
 void PerformMovement ()
 {
     if (velocity != Vector3.zero) 
     {
         rb.MovePosition(rb.position + velocity * Time.fixedDeltaTime);
     }
     
     if (thrusterForce != Vector3.zero)
     {
         rb.AddForce(thrusterForce * Time.fixedDeltaTime, ForceMode.Acceleration)
     }
     
 }
 
 //Perform rotation
 void PerformRotation () 
 {
     rb.MoveRotation(rb.rotation * Quaternion.Euler(rotation));
     if (cam != null) 
     {
         cam.transform.Rotate(-cameraRotation);
     }
 }    
}
Answer by allenallenallen · Feb 08, 2016 at 09:43 PM
Make sure your entire script has an even number of { and }. I don't see anything wrong here though. You might to recompile and see if the problem persists.
Allenx3: If you get a chance, it helps to move debugging Qs like this into the HelpRoom Area. Just click the little gear, then $$anonymous$$ove, then HelpRoom.
That helps out people who have Q's about undocumented features, or new hardware issues -- things they can't find anywhere else. There's absolutely nothing wrong with asking/answering help-me-with-my-script Q's. We just had trouble when they got mixed together. Thanks.
Your answer
 
 
             Follow this Question
Related Questions
Error CS1525: Unexpected Symbol ')' on lines 13 and 14 2 Answers
Wallrun script errors 1 Answer
Help i get this error Assets/MouseManager.cs(11,20): error CS1525: Unexpected symbol `{' 1 Answer
Please help - IOException: Sharing violation on path 0 Answers
How to fix Enlighten's baking problem 0 Answers
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                