Hello everyone,
There’s something fishy going on here right now, which I haven’t seen before.
Last project I’ve used a .bat file to start one of the builds I’ve made in Unity. The reason for that was that the build needed to autostart when Windows started, with a few seconds delay. It worked greatly, no problems.
Now, I want to do that again, but something weird happens.
When I start my unity build called framework.exe, it behaves as it should. For now it’s just a blue window that starts another build called idlescreen.exe. It works, no problems. I start the framework.exe and then idlescreen.exe pops up as it should.
But now, I call framework.exe through a .bat file. Like this
start framework/framework.exe -popupwindow
exit
But now it gets weird, the framework.exe does start, but does nothing! It doesn’t start the idlescreen.exe. It just starts and stays dead. Any idea what this could be?
p.s. don’t get me wrong, I don’t blame Unity, I just wonder if anyone has seen this behaviour before and if maybe the Start function gets skipped while calling through .bat?