WebView icon indicating copy to clipboard operation
WebView copied to clipboard

UE源码编译版貌似用不了?

Open KhalilWong opened this issue 3 years ago • 10 comments

你好,如题。 "Engine modules are out of date"

KhalilWong avatar Mar 01 '22 02:03 KhalilWong

对引擎源码有修改么?如果有基本上会报错,这是由于引擎代码头文件发生改变,和插件引用的头文件对不上。所以报错。如果你确实需要修改引擎源码,你可以将编译好的引擎发我,这边单独编译。

---- 回复的原邮件 ---- | 发件人 | Khalil @.> | | 日期 | 2022年03月01日 10:19 | | 收件人 | @.> | | 抄送至 | @.***> | | 主题 | [aSurgingRiver/WebView] UE源码编译版貌似用不了? (Issue #5) |

你好,如题。 "Engine modules are out of date"

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you are subscribed to this thread.Message ID: @.***>

aSurgingRiver avatar Mar 01 '22 04:03 aSurgingRiver

对引擎源码有修改么?如果有基本上会报错,这是由于引擎代码头文件发生改变,和插件引用的头文件对不上。所以报错。如果你确实需要修改引擎源码,你可以将编译好的引擎发我,这边单独编译。

源码没有修改。 用的WebView4.27。

KhalilWong avatar Mar 01 '22 05:03 KhalilWong

Engine modules are out of date 排除以上问题后,这个错误就是编译器识别日期的问题了。插件用发行版本的引擎编译。你那边的引擎是源代码运行重新编译了的。两边的日期对不上。你看下是否可以将这个错误忽略掉。

在 2022-03-01 13:36:11,"Khalil Wong" @.***> 写道:

对引擎源码有修改么?如果有基本上会报错,这是由于引擎代码头文件发生改变,和插件引用的头文件对不上。所以报错。如果你确实需要修改引擎源码,你可以将编译好的引擎发我,这边单独编译。

源码没有修改。 用的WebView4.27。

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>

aSurgingRiver avatar Mar 01 '22 06:03 aSurgingRiver

Engine modules are out of date 排除以上问题后,这个错误就是编译器识别日期的问题了。插件用发行版本的引擎编译。你那边的引擎是源代码运行重新编译了的。两边的日期对不上。你看下是否可以将这个错误忽略掉。

忽略不了,引擎不给启动了

KhalilWong avatar Mar 01 '22 06:03 KhalilWong

通过修改"\Plugins\WebView-4.27\Binaries\Win64"目录下的UE4Editor.modules中的"BuildId",解决了以上的问题。可以进UE编辑器,并且可以正常使用WebView。但是在打包Win10版本的时候,报错:"Missing precompiled manifest for 'CefBrowser'.",想问一下,webview现在支持打包吗?

KhalilWong avatar Mar 01 '22 09:03 KhalilWong

用发布版本可以正常打包,源码当时没试过。

---- 回复的原邮件 ---- | 发件人 | Khalil @.> | | 日期 | 2022年03月01日 17:14 | | 收件人 | @.> | | 抄送至 | @.@.> | | 主题 | Re: [aSurgingRiver/WebView] UE源码编译版貌似用不了? (Issue #5) |

通过修改"\Plugins\WebView-4.27\Binaries\Win64"目录下的UE4Editor.modules中的"BuildId",解决了以上的问题。可以进UE编辑器,并且可以正常使用WebView。但是在打包Win10版本的时候,报错:"Missing precompiled manifest for 'CefBrowser'.",想问一下,webview现在支持打包吗?

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>

aSurgingRiver avatar Mar 01 '22 09:03 aSurgingRiver

用发布版本可以正常打包,源码当时没试过。

哦哦,看到上一个issue好像类似,研究一下。

KhalilWong avatar Mar 01 '22 09:03 KhalilWong

按照issue#3的方法,将"WebView-4.27\Intermediate\Build\Win64\UE4"目录下的所有文件夹复制到"项目名\Intermediate\Build\Win64\项目名"目录下,即可完成项目Game的打包。

新的问题是,我想要实现dedicated server的打包,就出现了之前一样的打包错误。同理推测应该是缺少了类似"WebView-4.27\Intermediate\Build\Win64\UE4Server"文件夹内容。所以如果方便的话,能不能请作者操作并提供一份,万分感谢!

KhalilWong avatar Mar 02 '22 02:03 KhalilWong

看了下UE的编译。没有找到哪里可以编译成UE4Server的。Server是服务端的。这个插件只针对客户端做展现用。所以Server编译不出来。

在 2022-03-02 10:34:57,"Khalil Wong" @.***> 写道:

按照issue#3的方法,将"WebView-4.27\Intermediate\Build\Win64\UE4"目录下的所有文件夹复制到"项目名\Intermediate\Build\Win64\项目名"目录下,即可完成项目Game的打包。

新的问题是,我想要实现dedicated server的打包,就出现了之前一样的打包错误。同理推测应该是缺少了类似"WebView-4.27\Intermediate\Build\Win64\UE4Server"文件夹内容。所以如果方便的话,能不能请作者操作并提供一份,万分感谢!

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>

aSurgingRiver avatar Mar 02 '22 14:03 aSurgingRiver

不知你的问题解决了没有。这是用源代码打包的插件。希望对你有用。 同时也用Server测试了下。切换到Server后,程序是运行不起来的。 你用Sever是出于什么考虑。

在 2022-03-02 10:34:57,"Khalil Wong" @.***> 写道:

按照issue#3的方法,将"WebView-4.27\Intermediate\Build\Win64\UE4"目录下的所有文件夹复制到"项目名\Intermediate\Build\Win64\项目名"目录下,即可完成项目Game的打包。

新的问题是,我想要实现dedicated server的打包,就出现了之前一样的打包错误。同理推测应该是缺少了类似"WebView-4.27\Intermediate\Build\Win64\UE4Server"文件夹内容。所以如果方便的话,能不能请作者操作并提供一份,万分感谢!

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>

从网易163邮箱发来的超大附件 WebView.7z (598.52M, 2022年3月20日 0:37 到期) 下载

aSurgingRiver avatar Mar 04 '22 16:03 aSurgingRiver