发包问题和解决方案
<table>
<thead>
<tr>
<th>作者</th>
<th>QFord</th>
</tr>
</thead>
<tbody>
<tr>
<td>更新时间</td>
<td>2024-11-15</td>
</tr>
<tr>
<td>版本</td>
<td>V1.0.1</td>
</tr>
</tbody>
</table>
<h1>打包和发布说明</h1>
<p><a href="https://www.showdoc.com.cn/virtuallabUe/11037235855356827">https://www.showdoc.com.cn/virtuallabUe/11037235855356827</a></p>
<h1>发包问题-问题1</h1>
<p><strong>解决方案:</strong>
<img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=6296164b18eab07ee1b4d4a582e76fc6&amp;file=file.png" alt="" />
打包过程中会遇到莫名的报错,导致打包失败。
解决:在打包国产中,在编译好Script工程后,一定要关闭掉Script工程。不然过段时间就会出现打包失败。</p>
<h1>发包问题-问题2</h1>
<p><strong>解决方案:</strong>
<img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=062cb55657b5f7425ad26f59561c8b74&amp;file=file.png" alt="" />
打包过程中有个析构函数,循环会报错,暂时先注释掉了</p>
<h1>发包问题-问题3</h1>
<p><strong>解决方案:</strong>
VLabUE\Plugins\UnLua\Source\ThirdParty\Lua\lua-5.4.3\lib-c
目录下缺少静态库文件,导致打包失败,现已提交</p>
<h1>发包问题-问题4</h1>
<p><strong>解决方案:</strong>
<img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=2c3ed6d8fd36fe906dcd79a3329a828a&amp;file=file.png" alt="" />
这些C++代码自动生成的CS脚本不该参与烘焙,陈铭同学2024-10-10提供解决方案处理</p>
<h1>发包问题-问题5</h1>
<p>场景的资源出现问题,如材质的Error、蓝图报错都有可能导致<strong>烘焙内容</strong>阶段失败,从而中断打包。
<strong>解决方案:</strong>
根据具体错误处理,修复材质错误、蓝图错过</p>
<h1>发包问题-问题6</h1>
<p>Editor相关的业务在构建Build.cs和*.cpp代码中没有通过宏隔离或者平台判断隔离导致错误,错误提示关键词“EditorSubSystem”
<strong>解决方案:</strong>
插件代码或Build.cs添加宏隔离代码解决</p>
<h1>打包错误</h1>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=49a0c1d1e9094a3358dc6ea93842f14a&amp;file=file.png" alt="" />
<strong>解决方案:</strong>重新验证UE</p>