Skip to content

Instantly share code, notes, and snippets.

@ericwomer
ericwomer / system-info.txt
Created March 19, 2022 20:05
System Info March 19 2022
====================================
= Blender 3.1.0 System Information =
====================================
Blender:
====================================
version: 3.1.0, branch: master, commit date: 2022-03-08 18:16, hash: c77597cd0e15, type: release
build date: 2022-03-09, 00:34:48
@ericwomer
ericwomer / blender.crash.txt
Created March 19, 2022 17:47
Kit Ops Free Crash
# Blender 3.1.0, Commit date: 2022-03-08 18:16, Hash c77597cd0e15
bpy.data.window_managers["WinMan"].addon_search = "kit" # Property
# backtrace
/store/opt/Blender/Builds/stable/blender-3.1.0+stable.c77597cd0e15/blender(BLI_system_backtrace+0x20) [0xb33e0a0]
/store/opt/Blender/Builds/stable/blender-3.1.0+stable.c77597cd0e15/blender() [0x113105a]
/lib/x86_64-linux-gnu/libc.so.6(+0x430c0) [0x7f6f428670c0]
/home/eric/.local/lib/python3.10/site-packages/PIL/../Pillow.libs/libjpeg-62ed1500.so.62.3.0(jpeg_consume_input+0x4f) [0x7f6f198c6f0f]
/home/eric/.local/lib/python3.10/site-packages/PIL/../Pillow.libs/libjpeg-62ed1500.so.62.3.0(jpeg_read_header+0x2e) [0x7f6f198c71be]
/home/eric/.local/lib/python3.10/site-packages/PIL/_imaging.cpython-310-x86_64-linux-gnu.so(ImagingJpegDecode+0x162) [0x7f6f1999dce2]
======================
Proton: 1591828072 proton-5.0-9
SteamGameId: 594330
Command: ['/store/SteamLibrary/steamapps/common/Visage/Visage.exe']
Options: {'forcelgadd'}
======================
ERROR: ld.so: object '/home/eric/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/eric/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/eric/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/eric/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
======================
Proton: 1591828072 proton-5.0-9
SteamGameId: 594330
Command: ['/store/SteamLibrary/steamapps/common/Visage/Visage.exe']
Options: {'forcelgadd'}
======================
ERROR: ld.so: object '/home/eric/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/eric/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/eric/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/eric/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
======================
Proton: 1591828072 proton-5.0-9
SteamGameId: 594330
Command: ['/store/SteamLibrary/steamapps/common/Visage/Visage.exe']
Options: {'forcelgadd'}
======================
ERROR: ld.so: object '/home/eric/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/eric/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/eric/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/eric/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
#!/bin/bash
# USage: cd to your Unreal Projects root dir
# ./ue4stage.sh ProjectFolder and it will
# stage and build for you your project
function pause(){
read -p "$*"
}
PROJECT_NAME="${1%/}"
diff --git a/Engine/Source/Programs/UnrealBuildTool/Configuration/UEBuildModuleCPP.cs b/Engine/Source/Programs/UnrealBuildTool/Configuration/UEBuildModuleCPP.cs
index 4c0428ad373..6a6d4f71397 100644
--- a/Engine/Source/Programs/UnrealBuildTool/Configuration/UEBuildModuleCPP.cs
+++ b/Engine/Source/Programs/UnrealBuildTool/Configuration/UEBuildModuleCPP.cs
@@ -404,6 +404,10 @@ namespace UnrealBuildTool
// Write all the definitions to a separate file
CreateHeaderForDefinitions(CompileEnvironment, IntermediateDirectory, null, Graph);
+ if (CompileEnvironment.Definitions.Count > 0)
+ {
diff --git a/Engine/Source/Programs/UnrealBuildTool/Configuration/UEBuildModuleCPP.cs b/Engine/Source/Programs/UnrealBuildTool/Configuration/UEBuildModuleCPP.cs
index 4c0428ad373..93de90ce24c 100644
--- a/Engine/Source/Programs/UnrealBuildTool/Configuration/UEBuildModuleCPP.cs
+++ b/Engine/Source/Programs/UnrealBuildTool/Configuration/UEBuildModuleCPP.cs
@@ -404,6 +404,7 @@ namespace UnrealBuildTool
// Write all the definitions to a separate file
CreateHeaderForDefinitions(CompileEnvironment, IntermediateDirectory, null, Graph);
+ CompileEnvironment.Definitions.Clear();
@ericwomer
ericwomer / .clang-format
Created April 14, 2020 02:10 — forked from intinig/.clang-format
.clang-format for UE4
---
Language: Cpp
AccessModifierOffset: -4
AlignAfterOpenBracket: DontAlign
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: Left
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
@ericwomer
ericwomer / gist:eed47b5332d3174c40c1765e6cac797f
Created June 2, 2019 15:53
A little example in updating your forked branch of UnrealEngine4 from Epic's repo into yours.
Do the usual of getting your unrealengine and github account connected
create (or use your pre-existing ssh keys for github ) and add those keys to github
fork from https://github.com/EpicGames/UnrealEngine.git in github
clone from your fork (lets say for example mine git@github.com:salamanderrake/UnrealEngine.git)
>> Begin Commandline
git clone git@github.com:salamanderrake/UnrealEngine.git
cd UnrealEngine
git remote add epic https://github.com/EpicGames/UnrealEngine.git