Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unity3D, Imported package's code not showing in Visual Studio

I have imported standard unitypackage file to my Unity3D project which has its own C# code. Then I open my Visual Studio Community Edition in order to use its code as namespace and I get this:

Not loading

It doesn't even showing in Solution of this project:

No folder

There is no Nakama folder where these scripts are being located.

Is there any way to recreate project solution?

I'm using Visual Studio Community Edition 2015 14.0.25

like image 774
Mr.D Avatar asked Jul 16 '26 06:07

Mr.D


2 Answers

I solved the problem by :

  • Adding Embedded packages in Unity settings
  • Re-generate project files

Unity 2019.3.15f1 enter image description here

Noticed that my files was in the Packages folder.

like image 89
Tribaleur Avatar answered Jul 18 '26 19:07

Tribaleur


  1. First of all, you should use Visual Studio 2017 (is not mandatory)

  2. Then add your project to your solution.

  3. Then add a reference to your added project.

if you can successfully reference to your project only then you can use it.

like image 44
Shakir Ahmed Avatar answered Jul 18 '26 20:07

Shakir Ahmed



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!