0
\$\begingroup\$

I'm fresh new to unity and I only followed several tutorials. Up to now, I always used/tested the games inside of unity and now I would like to use them even on different systems. Hence, I built the game and I will get a folder with several files, e.g.:

"Tutorial.exe"
"UnityCrashHandler64.exe"
"UnityPlayer.dll"
"WinPixEventRuntime.dll"

and the folders "MonoBleedingEdge" and "Tutorial_Data".

I wonder why is the .exe called Tutorial.exe? Because I'm using files from a tutorial? Probably, however, this is not really my question, instead I would like to know how I start the game.. when I run "Tutorial.exe", the terminal opens and I get the following lines there:

Mono path[0] = 'C:/Users/info/Desktop/game_tutorial/Tutorial_Data/Managed'
Mono config path = 'C:/Users/info/Desktop/game_tutorial/MonoBleedingEdge/etc'
PlayerConnection initialized from C:/Users/info/Desktop/game_tutorial/Tutorial_Data (debug = 0)
PlayerConnection initialized network socket : 0.0.0.0 55319
Multi-casting "[IP] 192.xxx.y.zz [Port] 55319 [Flags] 2 [Guid] 2366299205 [EditorId] 3420877675 [Version] 1048832 [Id] WindowsPlayer(DESKTOP-58KOK07) [Debug] 0 [PackageName] WindowsPlayer" to [225.0.0.222:54997]...
Started listening to [0.0.0.0:55319]
PlayerConnection already initialized - listening to [0.0.0.0:55319]
Initialize engine version: 2018.4.13f1 (497f083a43af)
Forcing GfxDevice: Null
GfxDevice: creating device client; threaded=0
NullGfxDevice:
    Version:  NULL 1.0 [1.0]
    Renderer: Null Device
    Vendor:   Unity Technologies
FMOD initialized on nosound output
Begin MonoManager ReloadAssembly
- Completed reload, in  0.132 seconds
UnloadTime: 0.683600 ms
Setting up 2 worker threads for Enlighten.
  Thread -> id: 2bc8 -> priority: 1
  Thread -> id: 2280 -> priority: 1

I would expect being set into the game? The game has no menu or anything else, one should just be spawning in a landscape and walk around. Instead I end up in the console all the time.

What am I doing wrong?

More information: I'm following this tutorial here: https://www.udemy.com/course/virtual-reality-game-development/learn/lecture/7118680#overview So it is about a virtual reality scenario but afaik the building and so on shouldn't really be different. These are the options I use to build:

image

I would like to use the htc vive. I use two different systems: The one where I build the game has steam and steamvr installed but no connected hmd. The other one is in another chamber where I play vr and so on.

\$\endgroup\$
  • 1
    \$\begingroup\$ Normally just running the executable is all you need to do. To answer "What am I doing wrong?" we'd need to know what you did. All we know so far is that you followed one of the hundreds of Unity tutorials on the Internet, so it's challenging to reproduce the specific issue you're seeing without more details. \$\endgroup\$ – DMGregory Jan 25 at 14:56
  • 1
    \$\begingroup\$ It's Tutorial.exe because you named your project "Tutorial". You can change that in "Player Settings..." -> "Product Name". \$\endgroup\$ – Philipp Jan 25 at 15:02
  • \$\begingroup\$ I added some information. Thanks for the naming! Yes, it's reproducable, even on different systems. But in principle I am right to expect being starting in the game directly when launching the file.. mh.. \$\endgroup\$ – Ben Jan 25 at 15:04
  • \$\begingroup\$ What virtual reality head-mounted display are you using? \$\endgroup\$ – DMGregory Jan 25 at 15:15
  • 1
    \$\begingroup\$ What happens if you create a new empty VR project, not using anything from the tutorial? If the error still occurs, I'd recommend reinstalling programs/drivers until it's fixed. If the error doesn't occur in the new project, then we know some step or file in the tutorial is causing the issue: start porting over bits into your new project one piece at a time until the error starts happening in your new project, and that will let you narrow down exactly what part of the tutorial needs fixing. \$\endgroup\$ – DMGregory Jan 26 at 13:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.