Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Why can't I make a game?

Discussion in 'Editor & General Support' started by maximmolek785439, Dec 7, 2021.

  1. maximmolek785439

    maximmolek785439

    Joined:
    Sep 19, 2020
    Posts:
    89
    Hi I need help I can't create a game because it tells me error what about it?
     

    Attached Files:

    mabulous likes this.
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,969
    Try:
    Closing Unity
    go to the project folder
    delete the folders: .vs, library, temp (if its there)
    delete all .sln and .csproj files
    open the project
    go to edit - preferences - external tools
    click regenerate project files
    try again


    Edit: didn't see they were editor scripts. ReadMgear's comment as well!
     
  3. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,350
    those script mights be editor only scripts?
    if yes, move them inside some editor/ folder. (then they are not included in the build)
     
    DevDunk likes this.
  4. maximmolek785439

    maximmolek785439

    Joined:
    Sep 19, 2020
    Posts:
    89
    thanks for the anwers :), like this? remove
     

    Attached Files:

  5. maximmolek785439

    maximmolek785439

    Joined:
    Sep 19, 2020
    Posts:
    89
    but which folder editor should I put it in? Do I have a lot of editors? mgear
     

    Attached Files:

  6. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,350
    better place them near the current location, so maybe make folder for:
    /assets/vrinteraction/editor/
     
  7. maximmolek785439

    maximmolek785439

    Joined:
    Sep 19, 2020
    Posts:
    89
    thank you really it works thank you :D
     
  8. maximmolek785439

    maximmolek785439

    Joined:
    Sep 19, 2020
    Posts:
    89
    I still need help, why is it pink and not white?
     

    Attached Files:

  9. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,350
  10. maximmolek785439

    maximmolek785439

    Joined:
    Sep 19, 2020
    Posts:
    89
    I still need to know how I know which material I am missing ?
     

    Attached Files:

  11. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,350
    so its VR project, with Gamma color space and multipass enabled..

    Can you select that gameobject in editor,
    and check what material & shader it has, screenshot that? (the one that becomes pink in the build, or is it pink in editor also?)
     
  12. maximmolek785439

    maximmolek785439

    Joined:
    Sep 19, 2020
    Posts:
    89
    in the editor it's not pink and what object should I take a picture of ?, because all weapons are pink
     
  13. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,350
    ok, still pick the one that becomes pink in build (in editor can check what material, shader it has)
     
  14. maximmolek785439

    maximmolek785439

    Joined:
    Sep 19, 2020
    Posts:
    89
  15. maximmolek785439

    maximmolek785439

    Joined:
    Sep 19, 2020
    Posts:
    89
    May I ask you something completely different, how can I adjust the graphical settings in the game using the button?
     

    Attached Files:

  16. maximmolek785439

    maximmolek785439

    Joined:
    Sep 19, 2020
    Posts:
    89
    how is it divided quality index in numbers 0 is the lowest and how many are the maximum?
     
  17. maximmolek785439

    maximmolek785439

    Joined:
    Sep 19, 2020
    Posts:
    89
    it already works I found it has 0-5 numbers :)
     
  18. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,350
  19. maximmolek785439

    maximmolek785439

    Joined:
    Sep 19, 2020
    Posts:
    89
    I need help setting up the game settings, so I don't see my cursor ? why,Thank you in advance for your reply
     

    Attached Files:

  20. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,350
    Do you mean mouse cursor, or the VR pointer? *ah its scene window..
    maybe some script has hidden mouse cursor.
     
  21. maximmolek785439

    maximmolek785439

    Joined:
    Sep 19, 2020
    Posts:
    89
  22. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,350
    do you mean cannot see mouseover effect on the button, or the actual laser pointer from hand is not visible?

    does it work in oculus example scenes?
     
  23. maximmolek785439

    maximmolek785439

    Joined:
    Sep 19, 2020
    Posts:
    89
    I can't see the real laser index finger, in the editor it works for me but when the game build does not
     
  24. maximmolek785439

    maximmolek785439

    Joined:
    Sep 19, 2020
    Posts:
    89
    here you can see that I have it involved
     

    Attached Files:

  25. maximmolek785439

    maximmolek785439

    Joined:
    Sep 19, 2020
    Posts:
    89
    Here is a game built but I don't see VR laser
     

    Attached Files:

  26. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,350
    difficult to say, the laserpointer seems to be in some regular gameobject, not in hand (if it should be there?)
    i'd check the oculus sample scenes, if it works there, try to copy how they do it.

    Also scene seems to have 2 eventsystems, could remove one, just in case.
     
  27. maximmolek785439

    maximmolek785439

    Joined:
    Sep 19, 2020
    Posts:
    89
    thank you many times it works
     
  28. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,350
  29. maximmolek785439

    maximmolek785439

    Joined:
    Sep 19, 2020
    Posts:
    89
    how do i do it when I set the graphics high so it will be in other scenes, or will it update itself in the scenes?
     
  30. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,350
  31. maximmolek785439

    maximmolek785439

    Joined:
    Sep 19, 2020
    Posts:
    89
    hi, it will work at all when i use this script ? , i want to load the scene only black screen
     

    Attached Files:

  32. maximmolek785439

    maximmolek785439

    Joined:
    Sep 19, 2020
    Posts:
    89
    what with this?
     

    Attached Files:

  33. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,350
  34. maximmolek785439

    maximmolek785439

    Joined:
    Sep 19, 2020
    Posts:
    89
    thank you it already works