Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

CS1519 Error

Discussion in 'Getting Started' started by JHamm7, Mar 2, 2020.

  1. JHamm7

    JHamm7

    Joined:
    Feb 18, 2020
    Posts:
    2
    I am creating a Fighting Game in UFE and I got this error. It says
    Assets/Standard Assets/Effects/ImageEffects/Scripts/Bloom.cs(342,21): error CS1519: Unexpected symbol `void' in class, struct, or interface member declaration


    How can I fix this?

    upload_2020-3-2_14-8-45.png
     
  2. DeanTheodorakis

    DeanTheodorakis

    Joined:
    Apr 29, 2018
    Posts:
    53
    I think the error is because of the underscore before private on line 342. Is it a typo?
     
  3. JHamm7

    JHamm7

    Joined:
    Feb 18, 2020
    Posts:
    2
    No it's not a Typo. I tried deleting the underscore but it created a bunch of errors. I think I fixed it but it required me to delete my Stages in the Assets.
     
  4. Bill_Martini

    Bill_Martini

    Joined:
    Apr 19, 2016
    Posts:
    445