Description

A user has pointed out that code in AssetMappingTable.cpp and AnimationAsset.cpp are using the StaticClass() method on pointers.

Because StaticClass is a static method, it relies on name hiding to return the appropriate overload. Therefore, calling StaticClass on two pointers of the same type may always result in equality (where the actual type's may be different).

This code should be checked to determine whether or not the original intent is correct, or if GetClass should be used instead.

Steps to Reproduce

N/A

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-54413 in the post.

0
Login to Vote

Fixed
ComponentOLD - Anim
Affects Versions4.174.184.20
Target Fix4.20
Fix Commit4043613
Main Commit4062611
Release Commit4095966
CreatedJan 24, 2018
ResolvedMay 2, 2018
UpdatedJun 12, 2018
View Jira Issue