记录一下最近遇到的UE5 BUG
1. UE5.2 打包后,打开项目崩溃,提示:Assertion failed: CastResult [File:D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Public\UObject\Field.h] [Line: 961] CastFieldChecked failed with 0x0000015001062400 0x00007ff69dd254b6 YH.exe!FRigVMMemoryHandle::GetData_Internal() [] 0x00007ff69
参考这篇文章 用了SKM_Manny就会报这个错,改成SKM_Manny_Simple
2. Control Rig 打包后失效
根据社区的回答,需要更改编辑器语言和区域为English,更改后控制点初始位置对了。
3. UE5.2 烘焙失败,提示碰撞配置文件设置不包括水体碰撞条目
Error:Collision Profile settings do not include an entry for the Water Body Collision profile, which is required for water collision to function. Add entry to DefaultEngine.ini?
根据社区回答,打开项目文件夹下config->DefaultEngine.ini文件,我的项目打开并没有[/Script/Engine.CollisionProfile]这一行,如果有直接追加,没有则末尾加上这一行:
[/Script/Engine.CollisionProfile]
+Profiles=(Name="WaterBodyCollision",CollisionEnabled=QueryOnly,bCanModify=False,ObjectTypeName="",CustomResponses=((Channel="WorldDynamic",Response=ECR_Overlap),(Channel="Pawn",Response=ECR_Overlap),(Channel="Visibility",Response=ECR_Ignore),(Channel="Camera",Response=ECR_Ignore),(Channel="PhysicsBody",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Destructible",Response=ECR_Overlap)),HelpMessage="Default Water Collision Profile (Created by Water Plugin)")
4. 切换引擎版本提示用什么方式打开.uproject(.uproject没有与UnrealVersionSelector.exe关联)
修改注册表regedit.exe
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Unreal.ProjectFile]