Description

When adding code to a project, class names cannot be used if they contain a portion of the project's names and the type of class of the parent. Message says that the name is already used by another class.

Ex:
If a project is named "forest" then "forestGameMode" is auto-generated. However when using Add Code to Project to create a custom game mode, names such as "restGameMode" or "tGameMode" cannot be created.

Steps to Reproduce

1. Open UE4 Editor
2. Create new project with unique name (Unreal)
3. Add code to project based on Game Mode
3. Name the class "realGameMode".

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Cannot Reproduce
ComponentTools
Affects Versions4.7
CreatedFeb 25, 2015
ResolvedAug 4, 2016
UpdatedJul 14, 2021