Description

Looks like there's a missing if/else pair in BodyInstance.cpp

Steps to Reproduce

#Build 3283550 with UGS

Expectation: Builds
Result: Fails

Callstack

ubt> UE4Editor-CoreUObject.lib (0:01.07 at +1:25)
ubt> Creating library D:\UE4_15_Release_Workspace\Engine\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-CoreUObject.lib and object D:\UE4_15_Release_Workspace\Engine\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-CoreUObject.exp
ubt> (0:11.66 at +1:14)
ubt> Module.Engine.27_of_38.cpp
ubt> D:\UE4_15_Release_Workspace\Engine\Source\Runtime\Engine\Private\PhysicsEngine\BodyInstance.cpp(3061): error C2181: illegal else without matching if
ubt>
ubt> Error executing C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\cl.exe (tool returned code: 2)
ubt>

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-41497 in the post.

0
Login to Vote

Fixed
ComponentPhysics
Affects Versions4.15
Target Fix4.15
Fix Commit3284890
Main Commit3389599
Release Commit3284890
CreatedFeb 3, 2017
ResolvedFeb 3, 2017
UpdatedSep 23, 2019