ictusbrucks / ImpostorBaker

UE4 Plugin for generating Impostors for static meshes
513 stars 130 forks source link

Error opening the provided Generate_Impostor_Map #1

Open SRombauts opened 6 years ago

SRombauts commented 6 years ago

Using UE 4.19.0 (4.19.0-3944462+++UE4+Release-4.19), created an empty BP project, created a Plugins directory and cloned this repository into an ImpostorBaker subdirectory (so it is in C:\Users\sebas\workspace\UE4ImpostorBaker\Plugins\ImpostorBaker).

(UE 4.18.3 and UE4.20-master are totally unable to open the map)

When opening the provided Generate_Impostor_Map.umap (using "Show Plugin Content") I get a big bung of warnings. The first few lines are:

[2018.03.18-13.23.33:248][  0]Cmd: MAP LOAD FILE="../../../../../../Users/sebas/workspace/UE4ImpostorBaker/Plugins/ImpostorBaker/Content/ImpostorBaker/Maps/Generate_Impostor_Map.umap" TEMPLATE=0 SHOWPROGRESS=1 FEATURELEVEL=3
[2018.03.18-13.23.33:249][  0]LightingResults: New page: Lighting Build
[2018.03.18-13.23.33:255][  0]MapCheck: New page: Map Check
[2018.03.18-13.23.33:255][  0]LightingResults: New page: Lighting Build
[2018.03.18-13.23.33:578][  0]LogLinker: Warning: Can't find file '/Script/BlueprintMaterialTextureNodes'
[2018.03.18-13.23.33:578][  0]LogLinker: Warning: Can't find file for asset '/Script/BlueprintMaterialTextureNodes' while loading ../../../../../../Users/sebas/workspace/UE4ImpostorBaker/Plugins/ImpostorBaker/Content/ImpostorBaker/BP/BP_Generate_ImposterSprites.uasset.
[2018.03.18-13.23.33:578][  0]LoadErrors: Error: /ImpostorBaker/ImpostorBaker/BP/BP_Generate_ImposterSprites : Can't find file for asset. /Script/BlueprintMaterialTextureNodes
[...]

If I create my own NewMap, and try to bring BP_Generate_ImposterSprites into it I get the following errors:

[2018.03.18-13.33.08:113][169]LogBlueprint: Error: [Compiler BP_Generate_ImposterSprites] In use pin  In Render Target  no longer exists on node  Render Target Sample Rectangle Editor Only . Please refresh node or break links to remove pin.
[2018.03.18-13.33.08:113][169]LogBlueprint: Error: [Compiler BP_Generate_ImposterSprites] In use pin  In Rect  no longer exists on node  Render Target Sample Rectangle Editor Only . Please refresh node or break links to remove pin.
[2018.03.18-13.33.08:114][169]LogBlueprint: Error: [Compiler BP_Generate_ImposterSprites] In use pin  Return Value  no longer exists on node  Render Target Sample Rectangle Editor Only . Please refresh node or break links to remove pin.
[2018.03.18-13.33.08:114][169]LogBlueprint: Error: [Compiler BP_Generate_ImposterSprites] Could not find a function named "RenderTarget_SampleRectangle_EditorOnly" in 'BP_Generate_ImposterSprites'.
Make sure 'BP_Generate_ImposterSprites' has been compiled for  Render Target Sample Rectangle Editor Only
[2018.03.18-13.33.08:115][169]LogBlueprint: Error: [Compiler BP_Generate_ImposterSprites] In use pin  <Unnamed>  no longer exists on node  Set MICTexture Param Editor Only . Please refresh node or break links to remove pin.
[2018.03.18-13.33.08:115][169]LogBlueprint: Error: [Compiler BP_Generate_ImposterSprites] In use pin  <Unnamed>  no longer exists on node  Set MICTexture Param Editor Only . Please refresh node or break links to remove pin.
[2018.03.18-13.33.08:115][169]LogBlueprint: Error: [Compiler BP_Generate_ImposterSprites] In use pin  Material  no longer exists on node  Set MICTexture Param Editor Only . Please refresh node or break links to remove pin.
[2018.03.18-13.33.08:115][169]LogBlueprint: Error: [Compiler BP_Generate_ImposterSprites] In use pin  Param Name  no longer exists on node  Set MICTexture Param Editor Only . Please refresh node or break links to remove pin.
[2018.03.18-13.33.08:116][169]LogBlueprint: Error: [Compiler BP_Generate_ImposterSprites] In use pin  Texture  no longer exists on node  Set MICTexture Param Editor Only . Please refresh node or break links to remove pin.
[2018.03.18-13.33.08:116][169]LogBlueprint: Error: [Compiler BP_Generate_ImposterSprites] Could not find a function named "SetMICTextureParam_EditorOnly" in 'BP_Generate_ImposterSprites'.
Make sure 'BP_Generate_ImposterSprites' has been compiled for  Set MICTexture Param Editor Only
[2018.03.18-13.33.08:117][169]LogBlueprint: Error: [Compiler BP_Generate_ImposterSprites] In use pin  <Unnamed>  no longer exists on node  Create MIC Editor Only . Please refresh node or break links to remove pin.
[2018.03.18-13.33.08:117][169]LogBlueprint: Error: [Compiler BP_Generate_ImposterSprites] In use pin  <Unnamed>  no longer exists on node  Create MIC Editor Only . Please refresh node or break links to remove pin.
[2018.03.18-13.33.08:117][169]LogBlueprint: Error: [Compiler BP_Generate_ImposterSprites] In use pin  Material  no longer exists on node  Create MIC Editor Only . Please refresh node or break links to remove pin.
[2018.03.18-13.33.08:118][169]LogBlueprint: Error: [Compiler BP_Generate_ImposterSprites] In use pin  Name  no longer exists on node  Create MIC Editor Only . Please refresh node or break links to remove pin.
[2018.03.18-13.33.08:118][169]LogBlueprint: Error: [Compiler BP_Generate_ImposterSprites] In use pin  Return Value  no longer exists on node  Create MIC Editor Only . Please refresh node or break links to remove pin.
[2018.03.18-13.33.08:118][169]LogBlueprint: Error: [Compiler BP_Generate_ImposterSprites] Could not find a function named "CreateMIC_EditorOnly" in 'BP_Generate_ImposterSprites'.
Make sure 'BP_Generate_ImposterSprites' has been compiled for  Create MIC Editor Only
[2018.03.18-13.33.08:234][169]LogBlueprint: Error: [Compiler BP_Generate_ImposterSprites] In use pin  In Render Target  no longer exists on node  Render Target Sample Rectangle Editor Only . Please refresh node or break links to remove pin.
[2018.03.18-13.33.08:235][169]LogBlueprint: Error: [Compiler BP_Generate_ImposterSprites] In use pin  In Rect  no longer exists on node  Render Target Sample Rectangle Editor Only . Please refresh node or break links to remove pin.
[2018.03.18-13.33.08:235][169]LogBlueprint: Error: [Compiler BP_Generate_ImposterSprites] In use pin  Return Value  no longer exists on node  Render Target Sample Rectangle Editor Only . Please refresh node or break links to remove pin.
[2018.03.18-13.33.08:236][169]LogBlueprint: Error: [Compiler BP_Generate_ImposterSprites] Could not find a function named "RenderTarget_SampleRectangle_EditorOnly" in 'BP_Generate_ImposterSprites'.
Make sure 'BP_Generate_ImposterSprites' has been compiled for  Render Target Sample Rectangle Editor Only
[2018.03.18-13.33.08:267][169]LogBlueprint: Warning: [Compiler BP_Generate_ImposterSprites] [0280,67] Compile of BP_Generate_ImposterSprites failed. 20 Fatal Issue(s) 0 Warning(s) [in 225 ms] (/ImpostorBaker/ImpostorBaker/BP/BP_Generate_ImposterSprites.BP_Generate_ImposterSprites)
Nachtmahr87 commented 6 years ago

LogMaterial: Warning: MyProjectPathHere\Plugins\ImpostorBaker\Content\ImpostorBaker\Materials\Debug\M_VSShrink.uasset: Failed to compile Material for platform PCD3D_SM5, Default Material will be used in game.

Missing 3 Textures highlighted here https://i.imgur.com/BqDLBg9.png

SRombauts commented 6 years ago

Okay, so first requirements are:

Then there is only a warning for the following missing texture: /ImpostorBaker/ImpostorBaker/Textures/RT_512