Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

No cameras in scene?

Discussion in 'Project Tiny' started by MFC_kersten, Jul 24, 2020.

  1. MFC_kersten

    MFC_kersten

    Joined:
    Mar 11, 2019
    Posts:
    10
    Hi,

    After setting up my project exactly like the setup tutorial i get the following error screen shown in my windows build:
    DOTS-errormessage.png

    This is how i got my cameras set up, is there something i forgot to implement here?
    project-setup-screenshot.png

    Any help is greatly appreciated, been struggling with this for some time already :)

    Cheers,
    Merijn
     
  2. MFC_kersten

    MFC_kersten

    Joined:
    Mar 11, 2019
    Posts:
    10
    To elaborate on my set up a bit, i'm using:
    - Unity 2019.4.4f1
    - Project tiny full preview.14 - 0.26.0
    - The project is a URP project
     
  3. croixbk

    croixbk

    Joined:
    Aug 16, 2015
    Posts:
    5
  4. Ted_Wikman

    Ted_Wikman

    Unity Technologies

    Joined:
    Oct 7, 2019
    Posts:
    925
    Hello @demerijnkersten,
    In your build configurations under Scene List, make sure MainScene is in the Scene Infos array.
    If it is, please share screenshots of both your Root Assembly and your build configuration.

    Thank you!
     
  5. MFC_kersten

    MFC_kersten

    Joined:
    Mar 11, 2019
    Posts:
    10
    Thanks for the response @Ted_Wikman, appreciate you looking at my case.

    My Build configuration is set up like the following, i tried many different configurations without improvement yet:
    buildConfiguration.png

    This is what i included in the assembly:
    system-assembly.png

    My cameras are set up in the following way:
    camera-setup.png

    If anything seems out of place here i'd love to know it :)
    If not i'll try to create a new project, maybe a different version of Unity would do the trick?

    Thanks!
    - Merijn
     

    Attached Files:

  6. Ted_Wikman

    Ted_Wikman

    Unity Technologies

    Joined:
    Oct 7, 2019
    Posts:
    925
    I dont see any clear issues with your setup. Would you mind sending this project over so I can take a peek at it?
     
  7. MFC_kersten

    MFC_kersten

    Joined:
    Mar 11, 2019
    Posts:
    10
  8. AbdulAlgharbi

    AbdulAlgharbi

    Unity Technologies

    Joined:
    Jul 27, 2018
    Posts:
    319
    Thanks a lot for sharing the project
    There are a bunch of things that you need to adjust:
    • I highly recommend that you copy one of our sample projects (Like Tiny3D) and modify it instead of creating a Unity project from scratch. we require URP based project and in your project, I don't see URP settings assets maybe you deleted them but they are required to render anything in the scene view.
    • You need to add Unity.Entities.Runtime to your asmdef file
    • You need to add AutoMovingDirectionalLight component and reference the Main camera to your Directional light game object
    • Make sure the camera background sold color alpha is set to 255 and not transparent
    • You need URP Lit or Unlit material attached to the cube (Just create one and attach it to the cube)
    After just making the above changes I was able to get the rendering working

    upload_2020-7-27_12-29-21.png

    Also attached the project with my modifications
     

    Attached Files:

  9. MFC_kersten

    MFC_kersten

    Joined:
    Mar 11, 2019
    Posts:
    10
    Wow this is just amazing service from Unity, wasn't expecting to get this much help.
    I got it all working here as well, thanks!

    My plan is to develop a simple game for Facebook instant now, if i have any insights or feedback i'll make sure to share it on the forum.
     
    NotaNaN, Ted_Wikman and AbdulAlgharbi like this.