Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Importing only scripts from OP1

Discussion in 'Open Projects' started by qqqbbb, Oct 11, 2021.

  1. qqqbbb

    qqqbbb

    Joined:
    Jan 13, 2016
    Posts:
    113
    I want to use scripts from the OP1 in my project. I created a new project with Unity 2021.1.24, imported scripts from OP1 and I get a bunch of errors: "namespace name 'ScriptableObjects' does not exist in the namespace 'UOP1.StateMachine' ". Files from StateMachine/ScriptableObjects folder imported without errors. What should I do?
     
  2. Harsh-NJ

    Harsh-NJ

    Joined:
    May 1, 2020
    Posts:
    315
    Taking scripts blindly from a project troubled me a lot too.
    What scripts do you exactly want from this project?
    I see you are getting namespace errors..., this probably means that you copied some scripts and not their dependencies, or anything else....

    Please share the screenshots of Console errors

    BTW, you meant UOP1 and not OP1...

    Thanks.