ReSharper 2021.3 Help

Code Inspections in Unreal Engine

In Unreal Engine, ReSharper 2021.3 provides 19 proprietary code inspections, any of which you can disable or change its severity level.
These code inspections help you detect code issues in design time in all open files, and additionally they allow you to find code issues in specific scope.

Configurable Unreal Engine inspections are listed below, grouped by their categories.

Build System (2 inspections)

 

Inspection


ID


EditorConfig property

Default severity

Dependency for plugin is missing in project file


CSharpMissingPluginDependency


resharper_c_sharp_missing_plugin_dependency_highlighting

Warning

Module with this name does not exist


CSharpBuildCSInvalidModuleName


resharper_c_sharp_build_cs_invalid_module_name_highlighting

Warning

C++ (14 inspections)

 

Inspection


ID


EditorConfig property

Default severity

Action with this name does not exist


CppUENonExistentInputAction


resharper_cpp_ue_non_existent_input_action_highlighting

Warning

Axis with this name does not exist


CppUENonExistentInputAxis


resharper_cpp_ue_non_existent_input_axis_highlighting

Warning

BlueprintCallable function can be made const


CppUE4BlueprintCallableFunctionMayBeConst


resharper_cpp_ue4_blueprint_callable_function_may_be_const_highlighting

Hint

BlueprintCallable function can be made static


CppUE4BlueprintCallableFunctionMayBeStatic


resharper_cpp_ue4_blueprint_callable_function_may_be_static_highlighting

Hint

C++ standard library headers not found


CppUESourceFileWithoutStandardLibrary


resharper_cpp_ue_source_file_without_standard_library_highlighting

Error

Inconsistent UE4 Naming


CppUE4CodingStandardNamingViolationWarning


resharper_cpp_ue4_coding_standard_naming_violation_warning_highlighting

Hint

Inconsistent UE4 UClass Naming


CppUE4CodingStandardUClassNamingViolationError


resharper_cpp_ue4_coding_standard_u_class_naming_violation_error_highlighting

Error

Non-UProperty object member can be garbage collected at any time


CppUE4ProbableMemoryIssuesWithUObject


resharper_cpp_ue4_probable_memory_issues_with_u_object_highlighting

Warning

Objects stored in non-uproperty member can be garbage collected at any time


CppUE4ProbableMemoryIssuesWithUObjectsInContainer


resharper_cpp_ue4_probable_memory_issues_with_u_objects_in_container_highlighting

Warning

Specified version of the engine project is not found


CppUEIncorrectEngineDirectory


resharper_cpp_ue_incorrect_engine_directory_highlighting

Error

UFUNCTION macro call before declaration has no effect


CppUFunctionMacroCallHasNoEffect


resharper_cpp_u_function_macro_call_has_no_effect_highlighting

Warning

Unreal Engine source file without predefined Unreal macros


CppUESourceFileWithoutPredefinedMacros


resharper_cpp_ue_source_file_without_predefined_macros_highlighting

Warning

Unreal Engine version file doesn't exist


CppUEVersionFileDoesntExist


resharper_cpp_ue_version_file_doesnt_exist_highlighting

Error

UPROPERTY macro call before declaration has no effect


CppUPropertyMacroCallHasNoEffect


resharper_cpp_u_property_macro_call_has_no_effect_highlighting

Warning

UnrealHeaderTool (3 inspections)

 

Inspection


ID


EditorConfig property

Default severity

UnrealHeaderTool C++ parser errors


UnrealHeaderToolParserError


resharper_unreal_header_tool_parser_error_highlighting

Error

UnrealHeaderTool errors


UnrealHeaderToolError


resharper_unreal_header_tool_error_highlighting

Error

UnrealHeaderTool warnings


UnrealHeaderToolWarning


resharper_unreal_header_tool_warning_highlighting

Warning

Last modified: 07 April 2022