UE4-【问题集合】

  1. LogWindows: Error: Assertion failed: !bCleanedUpWorld [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/Engine/Private/World.cpp] [Line: 4092]

场景流中的子场景重复包含

  1. If I edit any property of my character, editor crashes. But if I duplicate the BP, then it works?

Sometimes when editing any sort of blueprint class, you must delete it and then re-add it back into the editor or you get weird crash or bugged out blueprints. When you copied it, it created a new/fresh updated blueprint instance that was correct, while the original one was stale and bugged.

I"ve had it happen a couple times, but not for a while now. The only way I could fix it was by either redoing the affected BP or duplicating it, and redoing references etc.

复制一份,使用Replace Reference和重定向修复。如果遇到Replace Reference提示需要关闭StartUp时,把ProjectSetting里的Editor起始场景Clear掉。

https://forums.unrealengine.com/development-discussion/blueprint-visual-scripting/1734888-if-i-edit-any-property-of-my-character-editor-crashes-but-if-i-duplicate-the-bp-then-it-works

  1. UPROPERTY崩溃,定位在check(TextStartIndex <= TextEndIndex);   解决方案:避免在代码中使用中文
  2. LogOutputDevice: Error: === Handled ensure: ===
    LogOutputDevice: Error: Ensure condition failed: Component->HasBegunPlay() [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/Engine/Private/Actor.cpp] [Line: 3457]
    LogOutputDevice: Error: Failed to route BeginPlay     解决方案:继承自UE4基类的函数一定要调用Super::XXX()
  3. UE4编译报错:命令行 error D8049: 无法执行“C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\c1xx.dll”: 命令行太长,无法适应调试记录
    
    解决在XXX.build.cs文件中添加:bLegacyPublicIncludePaths = false;
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 4
    评论
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值