# unreal engine osx crashes when create 3vector constant

**URL:** <https://forums.unrealengine.com/t/unreal-engine-osx-crashes-when-create-3vector-constant/2730620>\
**Category:** Issues and Bug Reporting (Unreal Engine)\
**Tags:** unreal-engine\
**Created:** [June 22, 2026, 7:29pm UTC](https://forums.unrealengine.com/t/unreal-engine-osx-crashes-when-create-3vector-constant/2730620 "2026-06-22T19:29:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lneuberger](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lneuberger](https://forums.unrealengine.com/u/Lneuberger)\
**Post date:** [June 22, 2026, 7:29pm UTC](https://forums.unrealengine.com/t/unreal-engine-osx-crashes-when-create-3vector-constant/2730620/1 "2026-06-22T19:29:51Z")

</div>

### Summary

I have been using Unreal 5.7 on Mac OS 26 with no issues. I downloaded 5.8 and now every time I create a 3 vector constant, or 4 vector, or drag a texture into the graph editor, it crashes.

I went back to 5.7, and now that happens there as well. I am not sure what to do. Any help would be appreciated.

I also noticed that no matter what I do to create a glass material, it is never translucent. Not sure if this is related.

### What Type of Bug are you experiencing?

Other

### Steps to Reproduce

I create a 3 Vectir Cinstant and crash.

Try 4 vector constant and crash

### Expected Result

It should just work,.

### Observed Result

Crash

### Affects Versions

5.8  
5.7

### Platform(s)

Mac

### For crash reports, include your callstack

LoginId:68fbe8c0034f5809a59ff59e8d3ee6a4  
EpicAccountId:534edc96c03e4a65954f3ada3c02054d

Fatal error: [File:./Runtime/Apple/MetalRHI/Private/MetalStateCache.cpp] [Line: 2233]  
Attempting to set a depth-stencil state that writes stencil but no stencil texture is configured!  
State: \<AGXG16XFamilyDepthStencilState: 0x7e59cad00\>  
label =   
device = \<AGXG16CDevice: 0x7e715c000\>  
name = Apple M4 Max  
Render Pass: \<MTLRenderPassDescriptorInternal: 0x7e8e3ac00\>  
Color Attachment 0  
texture = \<AGXG16XFamilyTexture: 0x7e0a5d680\>  
label = CAMetalLayer Display Drawable  
textureType = MTLTextureType2D  
pixelFormat = MTLPixelFormatBGRA8Unorm  
width = 1664  
height = 917  
depth = 1  
arrayLength = 1  
mipmapLevelCount = 1  
sampleCount = 1  
cpuCacheMode = MTLCPUCacheModeDefaultCache  
storageMode = MTLStorageModeManaged  
hazardTrackingMode = MTLHazardTrackingModeTracked  
resourceOptions = MTLResourceCPUCacheModeDefaultCache MTLResourceStorageModeManaged MTLResourceHazardTrackingModeTracked  
usage = MTLTextureUsageShaderRead MTLTextureUsageShaderWrite MTLTextureUsageRenderTarget MTLTextureUsagePixelFormatView  
shareable = 0  
framebufferOnly = 0  
purgeableState = MTLPurgeableStateNonVolatile  
swizzle = [MTLTextureSwizzleRed, MTLTextureSwizzleGreen, MTLTextureSwizzleBlue, MTLTextureSwizzleAlpha]  
isCompressed = 0  
parentTexture =   
parentRelativeLevel = 0  
parentRelativeSlice = 0  
buffer =   
bufferOffset = 0  
bufferBytesPerRow = 0  
iosurface = 0x7e7c24330  
iosurfacePlane = 0  
allowGPUOptimizedContents = YES  
level = 0  
slice = 0  
depthPlane = 0  
resolveTexture =   
resolveLevel = 0  
resolveSlice = 0  
resolveDepthPlane = 0  
loadAction = MTLLoadActionLoad  
storeAction = MTLStoreActionUnknown  
storeActionOptions = none  
clearColor = (0 0 0 0)  
yInvert = NO  
Color Attachment 1  
texture =   
level = 0  
slice = 0  
depthPlane = 0  
resolveTexture =   
resolveLevel = 0  
resolveSlice = 0  
resolveDepthPlane = 0  
loadAction = MTLLoadActionLoad  
storeAction = MTLStoreActionStore  
storeActionOptions = none  
clearColor = (0 0 0 0)  
yInvert = NO  
Color Attachment 2  
texture =   
level = 0  
slice = 0  
depthPlane = 0  
resolveTexture =   
resolveLevel = 0  
resolveSlice = 0  
resolveDepthPlane = 0  
loadAction = MTLLoadActionLoad  
storeAction = MTLStoreActionStore  
storeActionOptions = none  
clearColor = (0 0 0 0)  
yInvert = NO  
Color Attachment 3  
texture =   
level = 0  
slice = 2  
depthPlane = 0  
resolveTexture =   
resolveLevel = 0  
resolveSlice = 0  
resolveDepthPlane = 0  
loadAction = MTLLoadActionLoad  
storeAction = MTLStoreActionStore  
storeActionOptions = none  
clearColor = (0 0 0 0)  
yInvert = NO  
Color Attachment 4  
texture =   
level = 0  
slice = 0  
depthPlane = 0  
resolveTexture =   
resolveLevel = 0  
resolveSlice = 0  
resolveDepthPlane = 0  
loadAction = MTLLoadActionLoad  
storeAction = MTLStoreActionStore  
storeActionOptions = none  
clearColor = (0 0 0 1)  
yInvert = NO  
Color Attachment 5  
texture =   
level = 0  
slice = 0  
depthPlane = 0  
resolveTexture =   
resolveLevel = 0  
resolveSlice = 0  
resolveDepthPlane = 0  
loadAction = MTLLoadActionDontCare  
storeAction = MTLStoreActionStore  
storeActionOptions = none  
clearColor = (0 0 0 1)  
yInvert = NO  
Color Attachment 6  
texture =   
level = 0  
slice = 0  
depthPlane = 0  
resolveTexture =   
resolveLevel = 0  
resolveSlice = 0  
resolveDepthPlane = 0  
loadAction = MTLLoadActionDontCare  
storeAction = MTLStoreActionStore  
storeActionOptions = none  
clearColor = (0 0 0 1)  
yInvert = NO  
Color Attachment 7  
texture =   
level = 0  
slice = 0  
depthPlane = 0  
resolveTexture =   
resolveLevel = 0  
resolveSlice = 0  
resolveDepthPlane = 0  
loadAction = MTLLoadActionDontCare  
storeAction = MTLStoreActionStore  
storeActionOptions = none  
clearColor = (0 0 0 1)  
yInvert = NO  
Depth Attachment:  
texture =   
level = 0  
slice = 0  
depthPlane = 0  
resolveTexture =   
resolveLevel = 0  
resolveSlice = 0  
resolveDepthPlane = 0  
resolveFilter = MTLMultisampleDepthResolveFilterSample0  
loadAction = MTLLoadActionLoad  
storeAction = MTLStoreActionStore  
storeActionOptions = none  
clearDepth = 0  
yInvert = NO  
Stencil Attachment:  
texture =   
level = 0  
slice = 0  
depthPlane = 0  
resolveTexture =   
resolveLevel = 0  
resolveSlice = 0  
resolveDepthPlane = 0  
loadAction = MTLLoadActionClear  
storeAction = MTLStoreActionStore  
storeActionOptions = none  
clearStencil = 0  
stencilResolveFilter = MTLMultisampleStencilResolveFilterSample0  
yInvert = NO  
visibilityResultBuffer =   
renderTargetArrayLength = 1  
renderTargetWidth = 0  
renderTargetHeight = 0  
rasterizationRateMap =   
visibilityResultType = Reset  
supportColorAttachmentMapping = NO  
Custom Sample Positions:  
number of positions = 0

0x669bb1bc libUnrealEditor-MetalRHI.dylib!FMetalStateCache::SetRenderState(FMetalCommandEncoder&) [UnknownFile])  
0x6695be68 libUnrealEditor-MetalRHI.dylib!FMetalRHICommandContext::PrepareToRender(unsigned int) [UnknownFile])  
0x6695d4b4 libUnrealEditor-MetalRHI.dylib!FMetalRHICommandContext::RHIDrawIndexedPrimitive(FRHIBuffer\*, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) [UnknownFile])  
0x2650d824 libUnrealEditor-Renderer.dylib!FRHICommand\<FRHICommandDrawIndexedPrimitive, FRHICommandDrawIndexedPrimitiveString1641\>::ExecuteAndDestruct(FRHICommandListBase&) [UnknownFile])  
0x05394240 libUnrealEditor-RHI.dylib!FRHICommandListBase::Execute() [UnknownFile])  
0x05397308 libUnrealEditor-RHI.dylib!FRHICommandListExecutor::FTranslateState::Translate\_ExecuteCommandList(FRHICommandListBase\*) [UnknownFile])  
0x05394d60 libUnrealEditor-RHI.dylib!FRHICommandListExecutor::FTaskPipe::Execute(FRHICommandListExecutor::FTaskPipe::FTask\*, TRefCountPtr const&) const [UnknownFile])  
0x053cc00c libUnrealEditor-RHI.dylib!TGraphTask\<TFunctionGraphTaskImpl\<void (ENamedThreads::Type, TRefCountPtr const&), (ESubsequentsMode::Type)0\>\>::ExecuteTask() [UnknownFile])  
0x085091a8 libUnrealEditor-Core.dylib!UE::Tasks::Private::FTaskBase::TryExecuteTask() [UnknownFile])  
0x0850f720 libUnrealEditor-Core.dylib!FNamedTaskThread::ProcessTasksNamedThread(int, bool) [UnknownFile])  
0x0850e7fc libUnrealEditor-Core.dylib!FNamedTaskThread::ProcessTasksUntilQuit(int) [UnknownFile])  
0x05e9ddb0 libUnrealEditor-RenderCore.dylib!FRHIThread::Run() [UnknownFile])  
0x087a77b4 libUnrealEditor-Core.dylib!FRunnableThreadPThread::Run() [UnknownFile])  
0x086f6e44 libUnrealEditor-Core.dylib!FRunnableThreadPThread::\_ThreadProc(void\*) [UnknownFile])  
0x832b1c58 libsystem\_pthread.dylib!\_pthread\_start() [UnknownFile])  
0x832acc1c libsystem\_pthread.dylib!thread\_start() [UnknownFile])

---

<div class="post-metadata">

**Author:** ![Lneuberger](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lneuberger](https://forums.unrealengine.com/u/Lneuberger)\
**Post date:** [June 26, 2026, 1:48pm UTC](https://forums.unrealengine.com/t/unreal-engine-osx-crashes-when-create-3vector-constant/2730620/2 "2026-06-26T13:48:40Z")

</div>

**UPDATE**

I installed Unreal 5.6.1 and everything works fine.

I then opened a file with textures and everything in 5.8 and created a texture sample and constant3vector with no problem.

Then I tried a new project in 5,8, created a constant3vector and back to crashing.

So it works if I use an existing file but not when a new project
