Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8201231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T06:44:16+00:00 2026-06-07T06:44:16+00:00

In my Unity project I have 3 visual studio projects: Assembly-CSharp-vs Assembly-CSharp-firstpass-vs Assembly-CSharp-Editor-vs All

  • 0

In my Unity project I have 3 visual studio projects:
Assembly-CSharp-vs
Assembly-CSharp-firstpass-vs
Assembly-CSharp-Editor-vs

All my scripts seems to end up in Assembly-CSharp-firstpass-vs, but an imported asset I’m using (2dtoolkit) has the code in Assembly-CSharp-vs … Which means that I can’t access this code from Assembly-CSharp-firstpass-vs, because there is no reference to Assembly-CSharp-vs (there’s not supposed to be a reference that way).

So, what is the “correct” way to handle this? I imagine that either I must move my script files to Assembly-CSharp-vs, or I must move my asset sources to Assembly-CSharp-firstpass-vs..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T06:44:18+00:00Added an answer on June 7, 2026 at 6:44 am

    If your scripts end up in the Assembly-CSharp-firstpass-vs project, it means that somewhere upwards in their folder hierarchy you have a folder named “Plugins”, “Standard Assets” or “Pro Standard Assets”. This causes you scripts to be compiled in the first of 4 possible compilation steps. So Unity will therefore place your code files in the Assembly-CSharp-firstpass-vs project.

    To make it possible to access 2DToolkit from your code I would recommend that you move all of your script files so they are not placed under any of these folders. This will cause them to be placed in the Assembly-CSharp-vs project.

    If you are using C# it should work now. But if you have written your own code in UnityScript(JavaScript) or Boo, you will have to place 2DToolkit in a folder named Plugins (or “Standard Assets” or “Pro Standard Assets” if you prefer that) so it compiles before your code.

    Take a look at the Script compilation page in the Unity manual for more in-depth information of how you can control the script compilation order.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Visual Studio 2008 C++ project where I am implementing unit tests
I have a unit test project in Visual Studio 2010 (.NET 4) that utilizes
I have a Visual Studio 2010 .NET 4 solution with C# projects and a
We have a Visual Studio 2008 solution with a large number of projects in
I'm using a Database Project in Visual Studio 2010 to manage all of my
I have a Test Project in Visual Studio I'd like to use to test
In my project file, I have the following entry: <Reference Include=Microsoft.Practices.Unity, Version=1.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35,
When one creates a new ASP.NET MVC project in visual studio, the New Project
When I build a Visual Studio 2010 project, I want to run unit tests
I have a unit test project based on UnitTest++. I usually put a breakpoint

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.