Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
MapErrors.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreTypes.h"
6#include "Logging/TokenizedMessage.h"
7#include "Templates/SharedPointer.h"
8#include "UObject/NameTypes.h"
9
10/**
11 * This file contains known map errors that can be referenced by name.
12 * Documentation for these errors is assumed to lie in UDN at: Engine\Documentation\Source\Shared\Editor\MapErrors
13 */
15{
16 /** Lighting */
17
18 /** {LightActor} has same light GUID as {LightActor} (Duplicate and replace the orig with the new one): Duplicate and replace the original with the new one. */
20
21 /** Actor */
22
23 /** {Actor} has same GUID as {Actor} (Duplicate and replace the orig with the new one): Duplicate and replace the original with the new one. */
25
26 /** {Actor} : Large actor casts a shadow and will cause an extreme performance hit unless bUseBooleanEnvironmentShadowing is set to true: A large actor has been set to cast shadows - this will cause extreme performance issues and should have bUseBooleanEnvironmentShadowing set to true. */
28
29 /** {Volume} causes damage, but has no damagetype defined.: This warning is caused when there is a volume that is set to cause damage but doesn't have a damage type defined. A damage type is important because it tells the game code how to handle a actor's reaction to taking damage. This can be solved by going to the actor's Property Window->Physics Volume and setting the 'DamageType' property. */
31
32 /** {Actor} : Brush has non-coplanar polygons: This warning is caused when there is a brush in the level that has non-coplanar polygons. This is usually caused by using brush editing tools in geometry mode in extreme ways and can cause missing polygons in the level. This warning can be resolved by deleting the brush and recreating it. */
34
35 /** {Actor} in same location as {Another Actor}: This warning is caused when there is a actor that is in the same exact location as another actor. This warning is usually the result of a accidental duplication or paste operation. It can be fixed by deleting one of the actors, or disregarded if the placement was intentional. */
37
38 /** {Actor} has invalid DrawScale/ DrawScale3D: This warning is caused when either DrawScale, DrawScale3D X, DrawScale3D Y, or DrawScale 3D Z is equal to zero. Meaning that the actor will not be shown because it is being scaled to zero on one of its axis. To solve this problem, change any DrawScale's that are zero to be non-zero by selecting the actor and changing its drawscale at the bottom of the main UnrealEd window. */
40
41 /** {Actor} is obsolete and must be removed!: This warning is caused when there is an instance of a actor in a level that has been marked deprecated. This is usually because a actor was marked deprecated after the level was created, but the map was never updated. This can be fixed by simply deleting the actor. */
43
44 /** {Actor} bStatic true, but has Physics set to something other than PHYS_None!: This warning is caused when an actor has its bStatic flag set to true but its Physics is set to PHYS_None. Since bStatic means that the actor will not be moving, having Physics set to PHYS_None is contradictory. Actors set with the bStatic flag are also not ticked(updated). This error can be solved by going to the actor's properties and changing its Physics to PHYS_None. */
46
47 /** {Actor} : Volume actor has NULL collision component - please delete: The specified volume actor has a NULL collision component and should probably be deleted. */
49
50 /** {Actor} : Volume actor has a collision component with 0 radius - please delete: The specified volume actor has a zero radius for its collision component and should probably be deleted. */
52
53 /** {Actor} (LOD {Index}) has hand-painted vertex colors that no longer match the original StaticMesh {StaticMesh}: It looks like the original mesh was changed since this instance's vertex colors were painted down - this may need a refresh. */
55
56 /** {ActorName} has collision enabled but StaticMesh ({StaticMeshName}) has no simple or complex collision. */
58
59 /** Actor casts dynamic shadows and has a BoundsScale greater than 1! This will have a large performance hit: Serious performance warning... either reduce BoundsScale to be <= 1 or remove dynamic shadows... */
61
63
66
67 /** Actor gas invalid hair strands material */
69
70 /** {ActorName} has WorldTrace blocked. It will be considered to be world geometry */
72
73 /** BSP Brush */
74
75 /** {Brush Actor} : Brush has zero polygons - please delete!: This warning indicates that you have a brush in the level that doesn't have any polygons associated with it. The brush should be deleted as it isn't doing anything useful. */
77
78 /** Run 'Clean BSP Materials' to clear {count} references: This warning indicates that there are material references on brush faces that aren't contributing to the BSP, and that applying the Tools->'Clean BSP Materials' operation can clean up these references. */
80
81 /** {Actor} : Brush has NULL BrushComponent property - please delete!: This warning is caused when there is a Brush with a "None" ConstraintInstance component. It is usually found in older maps where duplication was used to create a Brush and can be fixed by deleting the Brush causing the warning and creating a new one. */
83
84 /** {Brush} : Brush is planar: Planar brush used - please note that this may not work well with collision. */
86
87 /** Camera */
88
89 /** Camera has AspectRatio=0 - please set this to something non-zero */
91
92 /** Class */
93
94 /** { }::{ } is obsolete and must be removed (Class is abstract): NEEDS DESCRIPTION */
96
97 /** { }::{ } is obsolete and must be removed (Class is deprecated): NEEDS DESCRIPTION */
99
100
101 /** Foliage */
102
103 /** Foliage instances for a missing static mesh have been removed.: **TODO** */
105
106 /** Foliage in this map is missing {MissingCount} cluster component(s) for static mesh {MeshName}. Opening the Foliage tool will fix this problem.: **TODO** */
108
109 /** Landscape */
110
111 /** {LandscapeComponent} : Fixed up deleted layer weightmap: */
113
114 /** {LandscapeComponent} : Fixed up incorrect layer weightmap texture index: */
116
117 /** {LandscapeComponent} : Fixed up invalid material instances for a landscape component when its weightmap allocations don't match the material's layer configuration : */
119
120 /** Fixed up shared weightmap texture for layer {Layer} in component {Component} (shares with {Name}): */
122
123 /** Landscape ({ProxyName}) has overlapping render components at location ({X, Y}): */
125
126 /** Landscape proxy {ProxyName} of {LevelName} points to a LandscapeActor that is not currently loaded. This will lose the property upon save. */
128
129
130 /** Level */
131
132 /** Duplicate level info: Two WorldInfos somehow exist... */
134
135 /** Map should have KillZ set.: This warning is caused when the map's KillZ in the WorldInfo properties is set to the default value. All maps should specify a KillZ appropriate for the level so that players cannot simply fall forever until they reach the playable world bounds. */
137
138
139 /** Lighting */
140
141 /** {Actor} : Light actor has NULL LightComponent property - please delete!: This warning is caused when there is a Light actor with a "None" LightComponent. It is usually found in older maps where duplication was used to create the actor and can be fixed by deleting the actor causing the warning and creating a new one. */
143
144 /** Maps need lighting rebuilt: This warning is caused when lighting has been invalidated by moving or modifying a light actor. This can cause problems because the rendered lighting in the level is not accurately representing the current state of lights in the level. This error can be solved by going to the Build menu and rebuilding lighting for a map. */
146
147 /** Component is a static type but has invalid lightmap settings! Indirect lighting will be black. Common causes are lightmap resolution of 0, LightmapCoordinateIndex out of bounds. */
149
150 /** Component is a using CastVolumetricTranslucentShadow but this feature is disabled for the project! Turn on r.Shadow.TranslucentPerObject.ProjectEnabled in a project ini if required. */
152
153 /** Navigation */
154
155 /** Paths need to be rebuilt: **TODO** */
157
158 /** Particle System */
159
160 /** {Actor} : Emitter actor has NULL ParticleSystemComponent property - please delete!: This warning is caused when there is a Emitter actor with a "None" ParticleSystemComponent. It is usually found in older maps where duplication was used to create the actor and can be fixed by deleting the actor causing the warning and creating a new one. */
162
163 /** PSysComp has an empty parameter actor reference at index {Index} ({Actor}): Param.Actor should not be NULL. */
165
166 /** PSysComp has an empty parameter material reference at index {Index} ({Actor}): Param.Material should not be NULL. */
168
169
170 /** Skeletal Mesh */
171
172 /** {Actor} : SkeletalMeshActor has no PhysicsAsset assigned.: In order for a SkeletalMesh to have an accurate bounding box, it needs to have a PhysicsAsset assigned in its SkeletalMeshComponent. An incorrect or inaccurate bounding box can lead to the mesh vanishing when its origin is not in view, or to poor shadow resolution because the bounding box is too big. */
174
175 /** {Actor} : Skeletal mesh actor has NULL SkeletalMeshComponent property: The specified SkeletalMeshActor has a NULL SkeletalMeshComponent. */
177
178 /** {Actor} : Skeletal mesh actor has NULL SkeletalMesh property: The specified SkeletalMeshActor has a NULL SkeletalMesh. */
180
181 /** Sound */
182
183 /** {Actor} : Ambient sound actor has NULL AudioComponent property - please delete!: This warning is caused when there is a Ambient sound actor with a "None" AudioComponent. It is usually found in older maps where duplication was used to create a actor and can be fixed by deleting the actor causing the warning and creating a new one. */
185
186 /** Ambient sound actor's AudioComponent has a NULL SoundCue property!: This warning is caused when there is a AmbientSound actor with a NULL SoundCue property. This is a problem because the actor won't actually be playing any sounds. This can be fixed by first choosing a sound cue in the generic browser and then going to the actor's Property Window->Audio Category->Audio Component and setting the 'SoundCue' property. */
188
189 /** Static Mesh */
190
191 /** {Static Mesh Actor} : Static mesh actor has NULL StaticMesh property: This warning is caused when there is a static mesh actor in a level with a NULL StaticMesh property. This can be a problem because the actor exists and is using memory, but doesn't have a static mesh to actually draw. This warning is usually the result of creating a StaticMesh actor without first selecting a StaticMesh in the generic browser. This warning can be fixed by first selecting a static mesh in the generic browser and then going to the StaticMesh actor's Property Window->StaticMeshActor Category->StaticMeshComponent->StaticMeshComponent Category to set the 'StaticMesh' Property. */
193
194 /** {Actor} : Static mesh actor has NULL StaticMeshComponent property - please delete!: This warning is caused when there is a static mesh actor with a "None" StaticMeshComponent component. It is usually found in older maps where duplication was used to create the actor and can be fixed by deleting the actor causing the warning and creating a new one. */
196
197 /** {StaticMesh} has simple collision but is being scaled non-uniformly - collision creation will fail: Simple collision cannot be used with non-uniform scale. Please either fix the scale or the collision type. */
199
200 /** More overridden materials {Count} on static mesh component than are referenced {Count} in source mesh {StaticMesh}: **TODO** */
202
203 /** More Nanite overridden materials {Count} on static mesh component than are referenced {Count} in source mesh {StaticMesh}: **TODO** */
205
206 /** {Count} element(s) with zero triangles in static mesh {StaticMesh}: **TODO** */
208
209 /** Volume */
210
211 /** LevelStreamingVolume is not in the persistent level - please delete: This warning is caused when there is a level streaming volume that does not exist in the persistent level. This can be problematic because the volume will not be considered when checking to see if a streaming level should be loaded or unloaded. You can fix this problem by deleting the level streaming volume and recreating it. */
213
214 /** No levels are associated with streaming volume.: This warning is caused when there are no levels associated with a LevelStreamingVolume, making it non-functional. This problem can be fixed by associating one or more streaming levels with the offending LevelStreamingVolume. */
216
217
218 /** Uncategorized */
219
220 /** Filename is too long ({FilenameLength} characters) - this may interfere with cooking for consoles. Unreal filenames should be no longer than {Length} characters. Filename value: {Filename}: Please rename the file to be within the length specified. */
222
223 /** {ObjectName} : Externally referenced */
225
226 /** Actors */
227
228 /** {Actor} : Repaired painted vertex colors: Painted vertex colors were repaired on this actor. */
230
231 /** Hierarchical LOD **/
232
233 /** {LODActor} : Static mesh is missing for the built LODActor. Did you remove the asset? */
235
236 /** {LODActor} : Actor is missing. The actor might have been removed. We recommend you to build LOD again. */
238
239 /** {LODActor} : NoActor is assigned. We recommend to delete this actor. */
241
242 /** Virtual Textures */
243
244 /** {ObjectName} is using a virtual texture ('{TextureName}') on an unsupported property ('{PropertyName}'). */
246};
247
248/**
249 * Map error specific message token.
250 */
252{
253public:
254 /** Factory method, tokens can only be constructed as shared refs */
256
257private:
258 /** Private constructor */
259 FMapErrorToken( const FName& InErrorName );
260};
static TSharedRef< FMapErrorToken > Create(const FName &InErrorName)
FMapErrorToken(const FName &InErrorName)
static FLazyName SkeletalMeshNull
Definition MapErrors.h:179
static FLazyName DeprecatedClass
Definition MapErrors.h:98
static FLazyName DuplicateLevelInfo
Definition MapErrors.h:133
static FLazyName LightComponentNull
Definition MapErrors.h:142
static FLazyName StaticMeshComponent
Definition MapErrors.h:195
static FLazyName ActorIsObselete
Definition MapErrors.h:42
static FLazyName PSysCompErrorEmptyActorRef
Definition MapErrors.h:164
static FLazyName PSysCompErrorEmptyMaterialRef
Definition MapErrors.h:167
static FLazyName NoDamageType
Definition MapErrors.h:30
static FLazyName InvalidVirtualTextureUsage
Definition MapErrors.h:245
static FLazyName StaticPhysNone
Definition MapErrors.h:45
static FLazyName MultipleSkyAtmospheres
Definition MapErrors.h:64
static FLazyName NoLevelsAssociated
Definition MapErrors.h:215
static FLazyName VolumeActorCollisionComponentNULL
Definition MapErrors.h:48
static FLazyName InvalidHairStrandsMaterial
Definition MapErrors.h:68
static FLazyName LODActorNoActorFound
Definition MapErrors.h:240
static FLazyName SkeletalMeshComponent
Definition MapErrors.h:176
static FLazyName FixedUpInvalidLandscapeMaterialInstances
Definition MapErrors.h:118
static FLazyName LODActorMissingActor
Definition MapErrors.h:237
static FLazyName PrimitiveComponentHasInvalidTranslucentShadowSetting
Definition MapErrors.h:151
static FLazyName CleanBSPMaterials
Definition MapErrors.h:79
static FLazyName FixedUpSharedLayerWeightmap
Definition MapErrors.h:121
static FLazyName ActorLargeShadowCaster
Definition MapErrors.h:27
static FLazyName LODActorMissingStaticMesh
Definition MapErrors.h:234
static FLazyName RepairedPaintedVertexColors
Definition MapErrors.h:229
static FLazyName CollisionEnabledNoCollisionGeom
Definition MapErrors.h:57
static FLazyName MoreMaterialsThanReferenced
Definition MapErrors.h:201
static FLazyName SameLocation
Definition MapErrors.h:36
static FLazyName ElementsWithZeroTriangles
Definition MapErrors.h:207
static FLazyName SoundCueNull
Definition MapErrors.h:187
static FLazyName MultipleSkyLights
Definition MapErrors.h:62
static FLazyName FixedUpDeletedLayerWeightmap
Definition MapErrors.h:112
static FLazyName AbstractClass
Definition MapErrors.h:95
static FLazyName SkelMeshActorNoPhysAsset
Definition MapErrors.h:173
static FLazyName AudioComponentNull
Definition MapErrors.h:184
static FLazyName RebuildPaths
Definition MapErrors.h:156
static FLazyName VertexColorsNotMatchOriginalMesh
Definition MapErrors.h:54
static FLazyName BrushComponentNull
Definition MapErrors.h:82
static FLazyName SimpleCollisionButNonUniformScale
Definition MapErrors.h:198
static FLazyName LandscapeLazyObjectPtrDeprecation_Warning
Definition MapErrors.h:127
static FLazyName ShadowCasterUsingBoundsScale
Definition MapErrors.h:60
static FLazyName NoKillZ
Definition MapErrors.h:136
static FLazyName InvalidDrawscale
Definition MapErrors.h:39
static FLazyName FilenameIsTooLongForCooking
Definition MapErrors.h:221
static FLazyName StaticMeshNull
Definition MapErrors.h:192
static FLazyName MatchingActorGUID
Definition MapErrors.h:24
static FLazyName StaticComponentHasInvalidLightmapSettings
Definition MapErrors.h:148
static FLazyName MultipleSkyAtmosphereTypes
Definition MapErrors.h:65
static FLazyName NonCoPlanarPolys
Definition MapErrors.h:33
static FLazyName MatchingLightGUID
Definition MapErrors.h:19
static FLazyName VolumeActorZeroRadius
Definition MapErrors.h:51
static FLazyName LandscapeComponentPostLoad_Warning
Definition MapErrors.h:124
static FLazyName RebuildLighting
Definition MapErrors.h:145
static FLazyName FoliageMissingStaticMesh
Definition MapErrors.h:104
static FLazyName LevelStreamingVolume
Definition MapErrors.h:212
static FLazyName CameraAspectRatioIsZero
Definition MapErrors.h:90
static FLazyName MoreNaniteMaterialsThanReferenced
Definition MapErrors.h:204
static FLazyName InvalidTrace
Definition MapErrors.h:71
static FLazyName PlanarBrush
Definition MapErrors.h:85
static FLazyName ParticleSystemComponentNull
Definition MapErrors.h:161
static FLazyName BrushZeroPolygons
Definition MapErrors.h:76
static FLazyName UsingExternalObject
Definition MapErrors.h:224
static FLazyName FixedUpIncorrectLayerWeightmap
Definition MapErrors.h:115
static FLazyName FoliageMissingClusterComponent
Definition MapErrors.h:107