on a second look I wonder if it’s not loading my project so it can’t find the class, however if i change Argv[1] from “C:\Games\ArchV” to “C:\Games\ArchV\ArchV.uproject” it throws an error saying it can’t find the map specified.
A bit of Background: I’m trying to build a script to batch import models that will run on a server. So I assume it has to run through the editor. I am also running unreal off the Epic Games Launcher.
Yeah, I was also thinking it might not be loading your project, and that does seem to be the case.
I tried this myself locally and as long as the .uproject is the first argument, it should be treated as a project rather than a map.
Is your project definitely built for the correct editor config? Bear in mind that without “-debug” on the commandline, it’ll be trying to load the “Development Editor” rather than “Debug Editor”/“DebugGame Editor” build of your game.
Also, just to rule out any bat weirdness, does the same thing happen if you run that command directly in cmd?
I’m relatively new to compiling the C++ in unreal. I just downloaded the launcher from epic games created a new project, added in the file I wrote above and pressed compile. I just tried setting it from development to debug in the editor and that didn’t help. I also tried changing to “DebugGame Editor” in vs2015 and still ran into the same error.