I tried removing the function entirely and replacing it with just regular nodes. Still crashes when I open the material instance
GetVisibleMaterialParametersFromExpression()
Is probably folded in the PixelNormal node.
What do you mean by folded in the PixelNormal node, sorry i’m such a noob at this. I’m not used to error logs or coding language
It did give me a new error message I think
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000007
UnrealEditor_MaterialEditor!FMaterialEditorUtilities::GetVisibleMaterialParametersFromExpression() [D:\build\++UE5\Sync\Engine\Source\Editor\MaterialEditor\Private\MaterialEditorUtilities.cpp:629]
UnrealEditor_MaterialEditor!FMaterialEditorUtilities::GetVisibleMaterialParametersFromExpression() [D:\build\++UE5\Sync\Engine\Source\Editor\MaterialEditor\Private\MaterialEditorUtilities.cpp:625]
UnrealEditor_MaterialEditor!FMaterialEditorUtilities::GetVisibleMaterialParametersFromExpression() [D:\build\++UE5\Sync\Engine\Source\Editor\MaterialEditor\Private\MaterialEditorUtilities.cpp:553]
UnrealEditor_MaterialEditor!FMaterialEditorUtilities::GetVisibleMaterialParametersFromExpression() [D:\build\++UE5\Sync\Engine\Source\Editor\MaterialEditor\Private\MaterialEditorUtilities.cpp:625]
UnrealEditor_MaterialEditor!FMaterialEditorUtilities::GetVisibleMaterialParameters() [D:\build\++UE5\Sync\Engine\Source\Editor\MaterialEditor\Private\MaterialEditorUtilities.cpp:277]
UnrealEditor_UnrealEd!UMaterialEditorInstanceConstant::RegenerateArrays() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\PreviewMaterial.cpp:610]
UnrealEditor_MaterialEditor!SMaterialLayersFunctionsInstanceTree::CreateGroupsWidget() [D:\build\++UE5\Sync\Engine\Source\Editor\MaterialEditor\Private\SMaterialLayersFunctionsTree.cpp:1382]
UnrealEditor_MaterialEditor!SMaterialLayersFunctionsInstanceTree::Construct() [D:\build\++UE5\Sync\Engine\Source\Editor\MaterialEditor\Private\SMaterialLayersFunctionsTree.cpp:1151]
UnrealEditor_MaterialEditor!TSlateDecl<SMaterialLayersFunctionsInstanceTree,RequiredArgs::T0RequiredArgs>::operator<<=() [D:\build\++UE5\Sync\Engine\Source\Runtime\SlateCore\Public\Widgets\DeclarativeSyntaxSupport.h:976]
UnrealEditor_MaterialEditor!SMaterialLayersFunctionsInstanceWrapper::Construct() [D:\build\++UE5\Sync\Engine\Source\Editor\MaterialEditor\Private\SMaterialLayersFunctionsTree.cpp:1876]
UnrealEditor_MaterialEditor!TSlateDecl<SMaterialLayersFunctionsInstanceWrapper,RequiredArgs::T0RequiredArgs>::operator<<=() [D:\build\++UE5\Sync\Engine\Source\Runtime\SlateCore\Public\Widgets\DeclarativeSyntaxSupport.h:976]
UnrealEditor_MaterialEditor!FMaterialInstanceEditor::CreateInternalWidgets() [D:\build\++UE5\Sync\Engine\Source\Editor\MaterialEditor\Private\MaterialInstanceEditor.cpp:838]
UnrealEditor_MaterialEditor!FMaterialInstanceEditor::InitMaterialInstanceEditor() [D:\build\++UE5\Sync\Engine\Source\Editor\MaterialEditor\Private\MaterialInstanceEditor.cpp:425]
UnrealEditor_MaterialEditor!FMaterialEditorModule::CreateMaterialInstanceEditor() [D:\build\++UE5\Sync\Engine\Source\Editor\MaterialEditor\Private\MaterialEditorModule.cpp:110]
UnrealEditor_EngineAssetDefinitions!UAssetDefinition_MaterialInstanceConstant::OpenAssets() [D:\build\++UE5\Sync\Engine\Plugins\Editor\EngineAssetDefinitions\Source\Private\Material\AssetDefinition_MaterialInstanceConstant.cpp:19]
UnrealEditor_AssetTools!FAssetDefinitionProxy::OpenAssetEditor() [D:\build\++UE5\Sync\Engine\Source\Developer\AssetTools\Private\AssetTools.cpp:244]
UnrealEditor_UnrealEd!UAssetEditorSubsystem::OpenEditorForAsset() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\Subsystems\AssetEditorSubsystem.cpp:579]
UnrealEditor_UnrealEd!UAssetEditorSubsystem::OpenEditorForAssets_Advanced() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\Subsystems\AssetEditorSubsystem.cpp:645]
UnrealEditor_UnrealEd!UAssetEditorSubsystem::OpenEditorForAssets() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\Subsystems\AssetEditorSubsystem.cpp:761]
UnrealEditor_ContentBrowserAssetDataSource!ContentBrowserAssetData::EditOrPreviewAssetFileItems() [D:\build\++UE5\Sync\Engine\Plugins\Editor\ContentBrowser\ContentBrowserAssetDataSource\Source\ContentBrowserAssetDataSource\Private\ContentBrowserAssetDataCore.cpp:372]
UnrealEditor_ContentBrowserAssetDataSource!ContentBrowserAssetData::EditOrPreviewItems() [D:\build\++UE5\Sync\Engine\Plugins\Editor\ContentBrowser\ContentBrowserAssetDataSource\Source\ContentBrowserAssetDataSource\Private\ContentBrowserAssetDataCore.cpp:417]
UnrealEditor_ContentBrowserAssetDataSource!UContentBrowserAssetDataSource::BulkEditItems() [D:\build\++UE5\Sync\Engine\Plugins\Editor\ContentBrowser\ContentBrowserAssetDataSource\Source\ContentBrowserAssetDataSource\Private\ContentBrowserAssetDataSource.cpp:2200]
UnrealEditor_ContentBrowser!SContentBrowser::OnItemsActivated() [D:\build\++UE5\Sync\Engine\Source\Editor\ContentBrowser\Private\SContentBrowser.cpp:3141]
UnrealEditor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SContentBrowser,1,void __cdecl(TArrayView<FContentBrowserItem const ,int>,enum EAssetTypeActivationMethod::Type),FDefaultDelegateUserPolicy>::Execute() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:281]
UnrealEditor_ContentBrowser!SAssetView::OnListMouseButtonDoubleClick() [D:\build\++UE5\Sync\Engine\Source\Editor\ContentBrowser\Private\SAssetView.cpp:4081]
UnrealEditor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SAssetView,1,void __cdecl(TSharedPtr<FAssetViewItem,1>),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:298]
UnrealEditor_ContentBrowser!TDelegate<void __cdecl(TSharedPtr<FAssetViewItem,1>),FDefaultDelegateUserPolicy>::ExecuteIfBound<void,0>() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateSignatureImpl.inl:570]
UnrealEditor_ContentBrowser!SListView<TSharedPtr<FAssetViewItem,1> >::Private_OnItemDoubleClicked() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Public\Widgets\Views\SListView.h:1122]
UnrealEditor_ContentBrowser!STableRow<TSharedPtr<FAssetViewItem,1> >::OnMouseButtonDoubleClick() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Public\Widgets\Views\STableRow.h:423]
UnrealEditor_Slate!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FPointerEvent,`FSlateApplication::RoutePointerDoubleClickEvent'::`2'::<lambda_1> >() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:442]
UnrealEditor_Slate!FSlateApplication::RoutePointerDoubleClickEvent() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5700]
UnrealEditor_Slate!FSlateApplication::ProcessMouseButtonDoubleClickEvent() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5685]
UnrealEditor_Slate!FSlateApplication::OnMouseDoubleClick() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5648]
UnrealEditor_ApplicationCore!FWindowsApplication::ProcessDeferredMessage() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2235]
UnrealEditor_ApplicationCore!FWindowsApplication::DeferMessage() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2738]
UnrealEditor_ApplicationCore!FWindowsApplication::ProcessMessage() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:1099]
UnrealEditor_ApplicationCore!FWindowsApplication::AppWndProc() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:937]
user32
user32
UnrealEditor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsPlatformApplicationMisc.cpp:148]
UnrealEditor!FEngineLoop::Tick() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5749]
UnrealEditor!GuardedMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:188]
UnrealEditor!GuardedMainWrapper() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:118]
UnrealEditor!LaunchWindowsStartup() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:258]
UnrealEditor!WinMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:298]
UnrealEditor!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll
Sorry if i’m wasting your time, I’m just a bit lost.