Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Running in Visual Studio results in "Cannot open assembly Unity.Runtime.EntryPoint.exe" error

Discussion in 'Project Tiny' started by ildarshara, Nov 4, 2020.

  1. ildarshara

    ildarshara

    Joined:
    Mar 11, 2020
    Posts:
    2
    Hi,

    I'm trying to run Tiny 3D sample and it runs fine from the editor.
    However with Visual Studio and get the error:
    Code (csharp):
    1. User assembly './TypeRegGen.exe' is missing. Debugger will now debug all code, not just user code.
    2. Thread finished: Finalizer #2
    3. Cannot open assembly '/Volumes/ssd/workspace/unity/ProjectTinySamples/Tiny3D/Library/DotsRuntimeBuild/artifacts/Unity.Runtime.EntryPoint.exe/tiny3d-mac-dotnet/Unity.Runtime.EntryPoint.exe': No such file or directory.
    Environment: Unity 2020.1.11f, MacOS Catalina, Mac-Dotnet build with Developer configuration.

    I seem to have followed all the steps from the instruction at https://docs.google.com/document/d/...HfnAX-CpYLK3aOdwA/edit#heading=h.6xwqce97jysu

    Am I missing something?
    Any hint is welcome.
     
  2. AbdulAlgharbi

    AbdulAlgharbi

    Unity Technologies

    Joined:
    Jul 27, 2018
    Posts:
    319
    Are you sure Tiny3D is set as a startup project in vs?
    also before you debug make sure Tiny3D.gen is selected
    upload_2020-11-4_10-20-26.png
     
  3. ildarshara

    ildarshara

    Joined:
    Mar 11, 2020
    Posts:
    2
    AbdulAlgharbi,

    Thank you for reply.

    I'm sorry for asking dumb questions about Visual Studio, I'm just not very good at it.

    There is no Tiny3D project in the solution, however I do have Tiny3D.gen. Visual Studio Community 2019 for Mac 2020-11-05 14-27-52.png

    Also there is no way to select Tiny3D.gen in the dropdown which is next to "run" triangle. I guess it's due to empty list of run configurations in the solution.

    Solution Options – Tiny3D-Dots 2020-11-05 14-29-03.png
    When I try to add configuration, there is no Tiny3D option:
    Solution Options – Tiny3D-Dots 2020-11-05 14-31-12.png


    And that seems to be correct, since Tiny3D.gen compile target is library.
    Also When I run Tiny3D.gen by right click -> Run with -> Custom configuration I get "no entry point in Tiny3D.dll".

    Further guidance is greatly appreciated.