Tjoovel  
                
                  
                    November 18, 2023, 12:38am
                   
                  1 
               
             
            
              Hello here,
I’m trying to package my game and create a simple Windows build, but it keeps failing with the message: LogSlateStyle: Warning: Missing Resource from ‘CoreStyle’ Style: ‘Unable to find Color ‘InvertedForeground’.’
Does someone know more about this or what it could be?
             
            
              
            
           
          
            
              
                Leomerya12  
              
                  
                    November 18, 2023,  1:34am
                   
                  2 
               
             
            
              Hello, could you post a screenshot showing more of the output log?
             
            
              
            
           
          
            
              
                tenowg  
              
                  
                    November 18, 2023,  2:22am
                   
                  3 
               
             
            
              I am also receiving this error:
LogSlateStyle: Warning: Missing Resource from 'CoreStyle' Style: 'Unable to find SlateColor 'Foreground'.'
I haven’t tried to package yet, this message appears when loading the Editor.
             
            
              
            
           
          
            
              
                3dRaven  
                
                  
                    November 18, 2023,  6:35pm
                   
                  4 
               
             
            
              
Look at the documentation.SlateCore to your build file and#include "Styling/CoreStyle.h at the top of the cpp file where you are using it.
             
            
              
            
           
          
            
              
                tenowg  
              
                  
                    November 18, 2023,  8:50pm
                   
                  5 
               
             
            
              Problem with this is, I don’t use it anywhere… I don’t use any Slate or UI related c++ code in my project.
             
            
              
            
           
          
            
              
                3dRaven  
              
                  
                    November 18, 2023,  8:56pm
                   
                  6 
               
             
            
              You could be using a class that is dependent on the Slate class. It could also be caused by a plugin.
             
            
              
            
           
          
            
              
                tenowg  
              
                  
                    November 19, 2023,  3:28pm
                   
                  7 
               
             
            
              Well, you got me looking in the right direction, although the fix for me is still unknown. I started looking for anything that might use SlateCore, but didn’t find anything, but I did find a struct that the system was complaining about bad initialization. In totally unrelated code. Fixed it, and two other issues were fixed in the process. The slatecore error is gone, and the UMG MVVM plugin started working properly (really not sure, as the struct I fixed was in a time system plugin I am writting, that doesn’t even touch either of these other systems)
So thanks for helping, even if it wasn’t directly 
Maybe OP can get an idea here, or someone else in the future can find this useful.
             
            
              
            
           
          
            
              
                Tjoovel  
                
                  
                    November 20, 2023,  2:47pm
                   
                  8 
               
             
            
              Sorry due to only doing this is my freetime, I’m not too active.
But here is my output log with messages dissabled.
LogSlateStyle: Warning: Missing Resource from ‘CoreStyle’ Style: ‘Unable to find Color ‘InvertedForeground’.’
This would be the screenshot around the error.
             
            
              
            
           
          
            
              
                Tjoovel  
              
                  
                    November 20, 2023,  2:53pm
                   
                  9 
               
             
            
              The thing is, I wouldn’t know where I use it 
I havent added/changed any cpp files manually since I am not a programmer. Only using plugins and blueprints to make things work.
But would you know a way to locate the file needing this so I can adjust it?
Thanks!
             
            
              
            
           
          
            
              
                3dRaven  
              
                  
                    November 20, 2023,  2:53pm
                   
                  10 
               
             
            
              That is just a warning (in yellow). It should not cause the pack to fail. There should be a log file created after the package fail with exact errors.
             
            
              
            
           
          
            
              
                Tjoovel  
              
                  
                    November 20, 2023,  2:55pm
                   
                  11 
               
             
            
              Okay my bad. First time I’m actually trying to build something bigger in Unreal.
Would this be that Log file?
Horror_VS_001.log  (200.1 KB)
             
            
              
            
           
          
            
              
                3dRaven  
              
                  
                    November 20, 2023,  3:11pm
                   
                  12 
               
             
            
              The part that sticks out in the log would be
[2023.11.20-14.44.23:368][545]UATHelper: Packaging (Windows): No Visual C++ installation was found. Please download and install Visual Studio 2022 or 2019 with C++ components.
[2023.11.20-14.44.23:368][545]UATHelper: Packaging (Windows): Visual Studio 2022 x64 must be installed in order to build this target.
 
            
              2 Likes 
            
            
           
          
            
              
                Tjoovel  
              
                  
                    November 20, 2023,  3:13pm
                   
                  13 
               
             
            
              Fair I can give it a try, don’t know what that would change. Thanks already!
Can add to this, I was able to build this before, but after adding some more content it gave me this error and now I can’t build anymore.
             
            
              
            
           
          
            
              
                Tjoovel  
              
                  
                    November 20, 2023,  3:54pm
                   
                  14 
               
             
            
              Okay got Visual Studio installed and it is giving way more information now.
But also more errors 
Horror_VS_001.log  (299.7 KB)
             
            
              
            
           
          
            
              
                3dRaven  
              
                  
                    November 20, 2023,  4:00pm
                   
                  15 
               
             
            
              Seems to be a control rig problem
No handler found for function 'FRigUnit_ControlRigSplineFromPoints::Execute' for VM '/Engine/Transient.RigVM_12'
Perhaps this could be linked to the following error regarding splines and control rig
  
  
    When project is reopened, functions related to spline(spline from points, transform/position from spline, draw spline tested) get unplugged and message “node could not be resolved” appears. Reconnecting these nodes doesn’t help, but if they are deleted, rig compiled, and same nodes created it has no compiler errors. What’s the reason behind that strange behaviour.
   
 
This also stands out
[2023.11.20-15.51.09:868][272]PackagingResults: Error: Assertion failed: (SourcePin == nullptr) == (TargetPin == nullptr) [File:D:\build\++UE5\Sync\Engine\Plugins\Runtime\RigVM\Source\RigVMDeveloper\Private\RigVMModel\RigVMGraph.cpp] 
Seems like some critical pins in the control rig are unplugged causing problems
I’d go into your control rig blueprints and check if they are compiled without errors.
             
            
              2 Likes 
            
            
           
          
            
              
                Tjoovel  
              
                  
                    November 20, 2023,  4:03pm
                   
                  16 
               
             
            
              Aaaah thanks a lot for pointing this out! I will check it out and will let you know if this did something. Have a good day.
             
            
              1 Like 
            
            
           
          
            
              
                Ivan3z  
                
                  
                    July 1, 2024, 10:44am
                   
                  17 
               
             
            
              Hi @3dRaven 
I added the SlateCore to my build file
Any other idea?
And if you know one solution to the other warning is welcome too!! 
Thanyou so much!! 
             
            
              
            
           
          
            
              
                3dRaven  
              
                  
                    July 1, 2024, 11:13am
                   
                  18 
               
             
            
              maybe try adding the accompanying module “Slate”
             
            
              1 Like 
            
            
           
          
            
              
                Ivan3z  
              
                  
                    July 1, 2024,  2:15pm
                   
                  19 
               
             
            
              I just realized that the module was already included.
//Uncomment if you are using Slate UI
PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore", "AnimGraphRuntime" });
And i added this
PublicDependencyModuleNames.AddRange(new string[] { "UMG" });
It must be a specific EU5.4.2 problem.
Thank you so much @3dRaven