Comments (16)
触发JsonWriter.h中的WriteObjectStart()函数中的check(CanWriteObjectWithoutIdentifier()); 看起来像是Element->Identifier导致的
该问题已解决,出现这个问题是因为工程里有无效的引用,在引用中存在,但是资源被删掉了,我在插件中做了检测,不过你们工程中的引用问题还是建议自己解决一下。更新最新的Master分支即可。
from hotpatcher.
好的谢谢,我也发现好像时引用导致的,现在在查到底是啥
from hotpatcher.
但是其实我已经使用的最新的分支,依旧会出现这个问题
from hotpatcher.
你什么时候更新的?我是今天早上才提交的这个fix serialize json crash issue。
把你的crash栈发一下。
from hotpatcher.
好的,中午更新了发现的这个问题,
LoginId:f612f6054df0dc86dc5e85969e0fc805
EpicAccountId:67a3136c9e2147b5a944955de1da9a77
Assertion failed: CanWriteObjectWithoutIdentifier() [File:C:\Engine\unrealengine-4.26\Engine\Source\Runtime\Json\Public\Serialization/JsonWriter.h] [Line: 94]
UE4Editor_Core!AssertFailedImplV() [C:\Engine\unrealengine-4.26\Engine\Source\Runtime\Core\Private\Misc\AssertionMacros.cpp:104]
UE4Editor_Core!FDebug::CheckVerifyFailedImpl() [C:\Engine\unrealengine-4.26\Engine\Source\Runtime\Core\Private\Misc\AssertionMacros.cpp:461]
UE4Editor_HotPatcherEditor!FDebug::CheckVerifyFailed<wchar_t [1]>() [C:\Engine\unrealengine-4.26\Engine\Source\Runtime\Core\Public\Misc\AssertionMacros.h:156]
UE4Editor_HotPatcherEditor!TJsonWriter<wchar_t,TPrettyJsonPrintPolicy<wchar_t> >::WriteObjectStart'::
6'::Impl::ExecCheckImplInternal() [C:\Engine\unrealengine-4.26\Engine\Source\Runtime\Json\Public\Serialization\JsonWriter.h:94]
UE4Editor_HotPatcherEditor!TJsonWriter<wchar_t,TPrettyJsonPrintPolicy<wchar_t> >::WriteObjectStart() [C:\Engine\unrealengine-4.26\Engine\Source\Runtime\Json\Public\Serialization\JsonWriter.h:94]
UE4Editor_HotPatcherEditor!FJsonSerializer::Serialize<wchar_t,TPrettyJsonPrintPolicy<wchar_t> >() [C:\Engine\unrealengine-4.26\Engine\Source\Runtime\Json\Public\Serialization\JsonSerializer.h:416]
UE4Editor_HotPatcherEditor!FJsonSerializer::Serialize<wchar_t,TPrettyJsonPrintPolicy<wchar_t> >() [C:\Engine\unrealengine-4.26\Engine\Source\Runtime\Json\Public\Serialization\JsonSerializer.h:131]
UE4Editor_HotPatcherEditor!THotPatcherTemplateHelper::TSerializeStructAsJsonString() [D:\ClentForSourceBuild\Plugins\HotPatcher\Source\HotPatcherRuntime\Public\HotPatcherTemplateHelper.hpp:128]
UE4Editor_HotPatcherEditor!ReleaseWorker::ExportNewReleaseWorker() [D:\ClentForSourceBuild\Plugins\HotPatcher\Source\HotPatcherEditor\Private\CreatePatch\ReleaseProxy.cpp:109]
UE4Editor_HotPatcherEditor!UE4Function_Private::TFunctionRefCaller<bool (__cdecl*)(FHotPatcherReleaseContext &),bool __cdecl(FHotPatcherReleaseContext &)>::Call() [C:\Engine\unrealengine-4.26\Engine\Source\Runtime\Core\Public\Templates\Function.h:540]
UE4Editor_HotPatcherEditor!UE4Function_Private::TFunctionRefBase<UE4Function_Private::TFunctionStorage<0>,bool __cdecl(FHotPatcherReleaseContext &)>::operator()() [C:\Engine\unrealengine-4.26\Engine\Source\Runtime\Core\Public\Templates\Function.h:677]
UE4Editor_HotPatcherEditor!UReleaseProxy::DoExport() [D:\ClentForSourceBuild\Plugins\HotPatcher\Source\HotPatcherEditor\Private\CreatePatch\ReleaseProxy.cpp:57]
UE4Editor_HotPatcherEditor!UHotReleaseCommandlet::Main() [D:\ClentForSourceBuild\Plugins\HotPatcher\Source\HotPatcherEditor\Classes\Commandlets\HotReleaseCommandlet.cpp:111]
UE4Editor_Cmd!FEngineLoop::PreInitPostStartupScreen() [C:\Engine\unrealengine-4.26\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:3369]
UE4Editor_Cmd!GuardedMain() [C:\Engine\unrealengine-4.26\Engine\Source\Runtime\Launch\Private\Launch.cpp:127]
UE4Editor_Cmd!GuardedMainWrapper() [C:\Engine\unrealengine-4.26\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:137]
UE4Editor_Cmd!WinMain() [C:\Engine\unrealengine-4.26\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:268]
UE4Editor_Cmd!__scrt_common_main_seh() [d:\a01_work\6\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll
from hotpatcher.
看起来是同一个问题,我早上修复之后就没再复现出这样的问题。
你可以在这里断点看一下NewReleaseVersion中的AssetInfo
和PlatformAssets
里是不是有为None的元素:
from hotpatcher.
PlatformAssets为空,我是先打包了安卓然后使用byRelease,没有使用Cook会是这个产生的影响吗
from hotpatcher.
PlatformAssets结构为空是正常的,我的意思是有没有key为None的元素。
from hotpatcher.
有的,这个就是我说的Element->Identifier为空
from hotpatcher.
AssetInfo里存在Key为空的现象
from hotpatcher.
我在FAssetDependenciesInfo去判了一下可以崩溃问题已经解决了谢谢
from hotpatcher.
@sarkura 我刚才往dev分支提交了个修复,你可以用这个分支版本再测试一下。
from hotpatcher.
如果dev分支没问题,在issue里说一下。
from hotpatcher.
好的
from hotpatcher.
谢谢测试完成,已修复
from hotpatcher.
@sarkura OK,那我就发布到master了。
from hotpatcher.
Related Issues (20)
- 私有submodule怎么获得?
- 5.2 报错, 未添加默认值
- UE5.3.2 Unlua热更新失效
- HotChunker是否继续维护 HOT 1
- UE5.2.1,HotPatcher 82.0,在ByPatch下单独打包一个Niagara文件报警告 HOT 1
- c2440 ue5.32 这个怎么修复
- 请问二进制补丁方案和 Pak 的运行时重组方案,有没有在正式项目中应用呢?
- 多语言补丁不生效 HOT 3
- 新版支持了worldpartition相关的吗?
- 最新版本的不支持UE5 Nanite和World Partion,请大佬及时解决啊 HOT 3
- 打Patch时候,多个 Chunk 的输出目录不对
- 加载Pak包中的材质提示:Texture stream in request failed due to IO error HOT 1
- 其他插件没有被打包进去 HOT 4
- v81 使用UE5.0.3 不能编译 HOT 3
- UE5.3这几天就要发布了,支持一下吧,编译很多错误。 HOT 3
- Mac上打Patch时HotPatcherCommandlet执行完之后UE无法自动退出
- By Patch 打包遇到“__ExternalActors__”资源修改的情况不成功
- 能否对UE5.2做下支持?
- 5.3.2,当只修改一个蓝图,打patch运行后会崩溃。发现的解决方案是:将引用该AssetItem的上层文件和引用上层文件的Map也加入到打包列表中,可以正常运行 HOT 5
- 发布的时候有进度吗?这样转圈也不知道什么进度了
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hotpatcher.