B
B
barsic12342020-02-20 17:03:37
Unity
barsic1234, 2020-02-20 17:03:37

How to programmatically run unity in batch mode?

I would like to programmatically run unity in batch mode and load a certain scene, for example, from a c# console application. I read that it is possible to do this, but how exactly, I did not understand.
And, if it's really possible, is it possible to pass any parameters to the scene at startup?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
2
2CHEVSKII, 2020-02-20
@barsic1234

Add the -batchmode switch to the launch options

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question