Search Issue Tracker
By Design
Votes
0
Found in
2017.4.0f1
2018.3.0a1
2018.3.1f1
2019.1.0a1
2019.2.0a1
Issue ID
1138314
Regression
No
EditorApplication.projectWasLoaded doesn't fire when the editor is launched with -batchmode -quit -executeMethod
How to reproduce:
1. Download the submitted project (ProjectLoaded)
2. Open Terminal/CMD
3. Run the project with the following arguments: -batchmode -quit -projectPath -logFile and -executeMethod Editor.Builder.Build
4. After the project has quit, see the log file
Expected result: log file contains 'Running project load AutoRuns'
Actual result: log file does not contain 'Running project load AutoRuns'
Reproducible with: 2017.4.23f1, 2018.3.10f1, 2019.1.0b8, 2019.2.0a9
Notes:
Tested with macOS and Windows
Running the project without the -quit argument does not cause this issue
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on GizmoDrawingPhysics2D::DrawCompositeCollider2DGizmo when opening a Scene that has corrupted GameObjects with Tilemap Components
- Scrolling vertically and horizontally is very fast when in Play Mode and RuntimeInputBackend is set to UIToolkitInputBackendOption.Default
- Crash on MemoryProfiler::UnregisterAllocation when initializing entities and leaving Play Mode with Occlusion Culling enabled
- Crash on mdb_page_alloc when opening a project that was running while the PC shut down
- macOS Player freeze when using RunInBackground and Command+Tabbing to and from the application
Resolution Note (2019.3.X):
Solution for this should be to use -executeMethod and define another path to the code.