LogicalError / realtime-CSG-for-unity

Realtime-CSG, CSG level editor for Unity
https://realtimecsg.com
MIT License
735 stars 77 forks source link

Missing assembly references #326

Closed phil1025 closed 2 years ago

phil1025 commented 2 years ago

OS: Windows 7 SP2 Unity Version: 2020.3.15f2 Personal IDE: Microsoft Visual Studio Community 2019 Version 16.9.4 with Visual Studio Tools for Unity 4.9.1.0 Realtime CSG

Issue: Most or all scripts cause errors "Missing assembly reference" in Visual Studio. Visual Studio suggests to fix it: Add reference to 'Assembly-CSharp-Editor-firstpass' (never seen before, normally it would suggest "using ...") This fixes the errors in VS, but the issue then persists in the Unity console. After restarting VS the errors appear there again aswell. The Realtime CSG editor tools seem to work fine.

Error producing code (https://www.realtimecsg.com/documentation/brushMesh.html): BrushMesh cube = RealtimeCSG.Legacy.BrushFactory.CreateCube(Vector3.one); BrushMeshInstance cubeMeshInstance = BrushMeshInstance.Create(cube, 1);

Errors:

realtimeCSG_ReferenceError

somebody-new commented 2 years ago

i'm also running into this issue

nukeandbeans commented 2 years ago

If you are still having this issue, make sure you are only importing the Plugins/ directory, and not the entire repo.

phil1025 commented 2 years ago

If you are still having this issue, make sure you are only importing the Plugins/ directory, and not the entire repo.

Thank you Daniel, I will try that!

nukeandbeans commented 2 years ago

If you are still having this issue, make sure you are only importing the Plugins/ directory, and not the entire repo.

Thank you Daniel, I will try that!

Did this work for you?

nukeandbeans commented 2 years ago

This should no longer be an issue as of #340. Should be a drop-in plugin now.