关卡只能播放预览而运行就会报错,附图

该主题包含 8 个回复,有 2 个参与人,并且由 白夜梦 的头像 白夜梦1 年, 3 月 前 最后一次更新。

正在查看 9 个帖子 - 1 至 9 (共计 9 条)
  • 作者
    帖子
  • #20573
    白夜梦 的头像
    白夜梦
    学员
    注册日期: 2015/08/14
    发帖数: 1
    回帖数: 6

    只能播放来预览,而且是打开内置的关卡也是这样,本人不是程序员,不太理解是什么问题求解答!

    上传附件/图片:
    您必须登陆才能查看附件
    #20575
    白夜梦 的头像
    白夜梦
    学员
    注册日期: 2015/08/14
    发帖数: 1
    回帖数: 6

    不知道图为什么被改了,粘贴上最后几段日志
    LogPlayLevel: 在 AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars)
    LogPlayLevel: 在 AutomationTool.UE4Build.BuildWithUBT(String ProjectName, String TargetName, UnrealTargetPlatform TargetPlatform, String Config, String UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Dictionary`2 EnvVars)
    LogPlayLevel: 在 AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InForceNonUnity, Boolean InForceUnity, Dictionary2 PlatformEnvVars)
    LogPlayLevel: 在 Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL)
    LogPlayLevel: 在 BuildCookRun.DoBuildCookRun(ProjectParams Params)
    LogPlayLevel: 在 BuildCommand.Execute()
    LogPlayLevel: 在 AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary1 Commands)
    LogPlayLevel: 在 AutomationTool.Automation.Process(String[] CommandLine)
    LogPlayLevel: 在 AutomationTool.Program.MainProc(Object Param)
    LogPlayLevel: 在 AutomationTool.InternalUtils.RunSingleInstance(MainProc Main, Object Param)
    LogPlayLevel: 在 AutomationTool.Program.Main()
    LogPlayLevel: Program.Main: ERROR: Command failed (Result:5): D:\Epic Games\4.8\Engine\Binaries\DotNET\UnrealBuildTool.exe 我的项目 Win64 Development “C:\Users\Administrator\Documents\Unreal Projects\我的项目\我的项目.uproject” -noxge -generatemanifest -rocket -NoHotReloadFromIDE. See logfile for details: ‘UnrealBuildTool.txt’
    LogPlayLevel: ProcessManager.KillAll: Trying to kill 0 spawned processes.
    LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=5
    LogPlayLevel: Domain_ProcessExit
    LogPlayLevel: ProcessManager.KillAll: Trying to kill 0 spawned processes.
    LogPlayLevel: copying UAT log files…
    LogPlayLevel: RunUAT.bat ERROR: AutomationTool was unable to run successfully.
    LogPlayLevel: Completed Launch On Stage: Build Task, Time: 0.000037
    LogPlayLevel: BUILD FAILED
    PackagingResults:Error: 错误 Launch failed! Unknown Error
    LogD3D11RHI: InitD3DDevice

    #20577
    风之神韵 的头像
    风之神韵
    教师
    注册日期: 2014/06/20
    发帖数: 2
    回帖数: 360

    不要用汉字

    #20578
    白夜梦 的头像
    白夜梦
    学员
    注册日期: 2015/08/14
    发帖数: 1
    回帖数: 6

    意思是 我的项目 这个工程名?

    #20579
    白夜梦 的头像
    白夜梦
    学员
    注册日期: 2015/08/14
    发帖数: 1
    回帖数: 6

    ogPlayLevel: DynamicCompilation.CompileAssembly: c:\Users\Administrator\Documents\Unreal Projects\My project\Intermediate\Source\My project.Target.cs(6,17) : error CS1514: 应输入 {
    LogPlayLevel: DynamicCompilation.CompileAssembly: c:\Users\Administrator\Documents\Unreal Projects\My project\Intermediate\Source\My project.Target.cs(6,31) : error CS1519: 类、结构或接口成员声明中的标记“:”无效
    LogPlayLevel: DynamicCompilation.CompileAssembly: c:\Users\Administrator\Documents\Unreal Projects\My project\Intermediate\Source\My project.Target.cs(7,1) : error CS1519: 类、结构或接口成员声明中的标记“{”无效
    LogPlayLevel: BuildCommand.Execute: ERROR: BUILD FAILED
    LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception:
    LogPlayLevel: Program.Main: ERROR: Exception in UnrealBuildTool: ERROR: UnrealBuildTool encountered an error while compiling source files
    LogPlayLevel: Stacktrace: 在 UnrealBuildTool.DynamicCompilation.CompileAssembly(String OutputAssemblyPath, List1 SourceFileNames, List1 ReferencedAssembies, List`1 PreprocessorDefines, Boolean TreatWarningsAsErrors)
    LogPlayLevel: 在 UnrealBuildTool.DynamicCompilation.CompileAndLoadAssembly(String OutputAssemblyPath, List1 SourceFileNames, List1 ReferencedAssembies, List`1 PreprocessorDefines, Boolean DoNotCompile, Boolean TreatWarningsAsErrors)
    LogPlayLevel: 在 AutomationTool.ProjectUtils.CompileAndLoadTargetsAssembly(ProjectProperties Properties, String TargetsDllFilename, Boolean DoNotCompile, List`1 TargetScripts)
    LogPlayLevel: 在 AutomationTool.ProjectUtils.DetectTargetsForProject(ProjectProperties Properties, List`1 ExtraSearchPaths)
    LogPlayLevel: 在 AutomationTool.ProjectUtils.DetectProjectProperties(String RawProjectPath, List`1 ClientTargetPlatforms)
    LogPlayLevel: 在 AutomationTool.ProjectUtils.GetProjectProperties(String RawProjectPath, List`1 ClientTargetPlatforms)
    LogPlayLevel: 在 AutomationTool.ProjectParams.AutodetectSettings(Boolean bReset)
    LogPlayLevel: 在 AutomationTool.ProjectParams..ctor(String RawProjectPath, CommandUtils Command, String Device, String MapToRun, String AdditionalServerMapParams, ParamList1 Port, String RunCommandline, String StageCommandline, String BundleName, String StageDirectoryParam, Nullable1 StageNonMonolithic, String UE4Exe, String SignPak, List1 ClientConfigsToBuild, List1 ServerConfigsToBuild, ParamList1 MapsToCook, ParamList1 DirectoriesToCook, String InternationalizationPreset, ParamList1 CulturesToCook, ParamList1 ClientCookedTargets, ParamList1 EditorTargets, ParamList1 ServerCookedTargets, List1 ClientTargetPlatforms, Dictionary2 ClientDependentPlatformMap, List1 ServerTargetPlatforms, Dictionary2 ServerDependentPlatformMap, Nullable1 Build, Nullable1 Cook, String CookFlavor, Nullable1 Run, Nullable1 SkipServer, Nullable1 Clean, Nullable1 Compressed, Nullable1 UseDebugParamForEditorExe, Nullable1 IterativeCooking, Nullable1 CookAll, Nullable1 CookMapsOnly, Nullable1 CookOnTheFly, Nullable1 CookOnTheFlyStreaming, Nullable1 UnversionedCookedContent, String AdditionalCookerOptions, String BasedOnReleaseVersion, String CreateReleaseVersion, Nullable1 GeneratePatch, String DLCName, Nullable1 DLCIncludeEngineContent, Nullable1 NewCook, Nullable1 OldCook, Nullable1 CrashReporter, Nullable1 DedicatedServer, Nullable1 Client, Nullable1 Deploy, Nullable1 FileServer, Nullable1 Foreign, Nullable1 ForeignCode, Nullable1 LogWindow, Nullable1 NoCleanStage, Nullable1 NoClient, Nullable1 NoDebugInfo, Nullable1 NoXGE, Nullable1 Package, Nullable1 Pak, Nullable1 Prereqs, Nullable1 NoBootstrapExe, Nullable1 SignedPak, Nullable1 NullRHI, Nullable1 FakeClient, Nullable1 EditorTest, Nullable1 RunAutomationTests, String RunAutomationTest, Nullable1 CrashIndex, Nullable1 Rocket, Nullable1 SkipCook, Nullable1 SkipCookOnTheFly, Nullable1 SkipPak, Nullable1 SkipStage, Nullable1 Stage, Nullable1 Manifests, Nullable1 CreateChunkInstall, Nullable1 Unattended, Nullable1 NumClients, Nullable1 Archive, String ArchiveDirectoryParam, Nullable1 ArchiveMetaData, ParamList1 ProgramTargets, Nullable1 Distribution, Nullable1 Prebuilt, Nullable1 RunTimeoutSeconds, String SpecifiedArchitecture, Nullable1 IterativeDeploy)
    LogPlayLevel: 在 BuildCookRun.SetupParams()
    LogPlayLevel: 在 BuildCookRun.ExecuteBuild()
    LogPlayLevel: 在 BuildCommand.Execute()
    LogPlayLevel: 在 AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary1 Commands)
    LogPlayLevel: 在 AutomationTool.Automation.Process(String[] CommandLine)
    LogPlayLevel: 在 AutomationTool.Program.MainProc(Object Param)
    LogPlayLevel: 在 AutomationTool.InternalUtils.RunSingleInstance(MainProc Main, Object Param)
    LogPlayLevel: 在 AutomationTool.Program.Main()
    LogPlayLevel: Program.Main: ERROR: ERROR: UnrealBuildTool encountered an error while compiling source files
    LogPlayLevel: ProcessManager.KillAll: Trying to kill 0 spawned processes.
    LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=1
    LogPlayLevel: Domain_ProcessExit
    LogPlayLevel: ProcessManager.KillAll: Trying to kill 0 spawned processes.
    LogPlayLevel: copying UAT log files…
    LogPlayLevel: RunUAT.bat ERROR: AutomationTool was unable to run successfully.
    LogPlayLevel: Completed Launch On Stage: Build Task, Time: 1.001257
    LogPlayLevel: BUILD FAILED
    PackagingResults:Error: 错误 Launch failed! Unknown Error
    LogD3D11RHI: InitD3DDevice

    改成英文也不行啊

    #20594
    风之神韵 的头像
    风之神韵
    教师
    注册日期: 2014/06/20
    发帖数: 2
    回帖数: 360

    简单的改project的名称不行的,你得重新创建,虽然project名字改了,但是你看提示里的target.cs等一些文件又出错了。

    #20600
    白夜梦 的头像
    白夜梦
    学员
    注册日期: 2015/08/14
    发帖数: 1
    回帖数: 6

    可是重新建一个英文的目录还是会报错。。。看日志里有substance的字样,难道是那个插件或者是下的那个DEMO的问题么?

    #20601
    白夜梦 的头像
    白夜梦
    学员
    注册日期: 2015/08/14
    发帖数: 1
    回帖数: 6

    gPlayLevel: ProjectParams.ValidateAndLog: SkipStage=False
    LogPlayLevel: ProjectParams.ValidateAndLog: Stage=True
    LogPlayLevel: ProjectParams.ValidateAndLog: bUsesSteam=False
    LogPlayLevel: ProjectParams.ValidateAndLog: bUsesCEF3=False
    LogPlayLevel: ProjectParams.ValidateAndLog: bUsesSlate=True
    LogPlayLevel: ProjectParams.ValidateAndLog: bDebugBuildsActuallyUseDebugCRT=False
    LogPlayLevel: ProjectParams.ValidateAndLog: Project Params **************
    LogPlayLevel: InternalUtils.SafeFileExists: SafeFileExists C:\Users\Administrator\Documents\Unreal Projects\Breathless\Breathless.uproject=True
    LogPlayLevel: InternalUtils.SafeFileExists: SafeFileExists C:\Users\Administrator\Documents\Unreal Projects\Breathless\Breathless.uproject=True
    LogPlayLevel: InternalUtils.SafeFileExists: SafeFileExists C:\Users\Administrator\Documents\Unreal Projects\Breathless\Breathless.uproject=True
    LogPlayLevel: InternalUtils.SafeFileExists: SafeFileExists C:\Users\Administrator\Documents\Unreal Projects\Breathless\Breathless.uproject=True
    LogPlayLevel: Project.CopyBuildToStagingDirectory: ********** STAGE COMMAND STARTED **********
    LogPlayLevel: BuildCommand.Execute: ERROR: BUILD FAILED
    LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception:
    LogPlayLevel: Program.Main: ERROR: Exception in AutomationScripts.Automation: Missing receipt ‘UE4Game-Win64-Development.target.xml’. Check that this target has been built.
    LogPlayLevel: Stacktrace: 在 Project.CreateDeploymentContext(ProjectParams Params, Boolean InDedicatedServer, Boolean DoCleanStage)
    LogPlayLevel: 在 Project.CopyBuildToStagingDirectory(ProjectParams Params)
    LogPlayLevel: 在 BuildCookRun.DoBuildCookRun(ProjectParams Params)
    LogPlayLevel: 在 BuildCommand.Execute()
    LogPlayLevel: 在 AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary1 Commands)
    LogPlayLevel: 在 AutomationTool.Automation.Process(String[] CommandLine)
    LogPlayLevel: 在 AutomationTool.Program.MainProc(Object Param)
    LogPlayLevel: 在 AutomationTool.InternalUtils.RunSingleInstance(MainProc Main, Object Param)
    LogPlayLevel: 在 AutomationTool.Program.Main()
    LogPlayLevel: Program.Main: ERROR: Missing receipt ‘UE4Game-Win64-Development.target.xml’. Check that this target has been built.
    LogPlayLevel: ProcessManager.KillAll: Trying to kill 0 spawned processes.
    LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=1
    LogPlayLevel: Domain_ProcessExit
    LogPlayLevel: ProcessManager.KillAll: Trying to kill 0 spawned processes.
    LogPlayLevel: copying UAT log files…
    LogPlayLevel: RunUAT.bat ERROR: AutomationTool was unable to run successfully.
    LogPlayLevel: Completed Launch On Stage: Build Task, Time: 7.508964
    LogStats:Warning: MetaData mismatch. Did you assign a stat to two groups? New //STATGROUP_Threads//FLauncherTask///Thread_21f4_0///####STATCAT_Advanced#### old //STATGROUP_Threads//FLauncherTask///Thread_879c_0///####STATCAT_Advanced####
    LogPlayLevel: Completed Launch On Stage: Deploy Task, Time: 0.000030
    LogPlayLevel: BUILD FAILED
    PackagingResults:Error: 错误 Launch failed! Unknown Error
    LogD3D11RHI: InitD3DDevice

    用编译版创建的英文路径也是不能启动。。。求解啊。。。

    #20602
    白夜梦 的头像
    白夜梦
    学员
    注册日期: 2015/08/14
    发帖数: 1
    回帖数: 6

    播放就没问题。就是不能启动,不解!

正在查看 9 个帖子 - 1 至 9 (共计 9 条)

抱歉,回复评论必需登录。