Trying to edit/view PreviewShadowIndicator material crashes editor

The following material (among others) is not compiling properly when I am launching/building for iOS. Trying to open it to view/edit the material causes the Engine to crash every time. This reinforces my fear that this is something to do with my game crashing every time on iOS/iPad Mini (but not Android), but it’s hard to know for sure. I also can’t delete it, as it is referenced in the Engine script and other places. Thanks for any info!

/Engine/EditorMaterials/PreviewShadowIndicatorMaterial.PreviewShadowIndicatorMaterial

Forgot to attach this.link text

In case this helps: This line from my Launch on iOS Output log is what made me look at this material in the first place:
“LogMaterial: Missing cached shader map for material PreviewShadowIndicatorMaterial, compiling.
LogMaterial:Warning: Failed to compile Material /Engine/EditorMaterials/PreviewShadowIndicatorMaterial.PreviewShadowIndicatorMaterial for platform GLSL_ES2_IOS, Default Material will be used in game.
LogMaterial:Warning: (Node TextureSample) Node not supported in feature level ES2”

Hey viscid2015,

Try deleting your Saved, Content, and Intermediate files/folders and then re-opening your project and running the ‘Fix up Redirectors in Folder’ option on the Content Browser.

If that does not resolve the issue, try manually locating the material and adding a ‘Feature Level Switch’ node into the material, so it auto-detects what is/is not compatible with your mobile platform.

Since this is just a warning, and not an Error which can cause your project to fail to build, I would not worry too much about it. And looking at the crash log you’ve provided, it also appears your crash is being caused by Widgets and the Paint function.

Can you reproduce this error message in a new blank project under the same targeted mobile platform?

Update: This was a known and reported issue UE-23370, and has been fixed in the 4.11 release.

Thank you,

Well, that Update could just be the best news I’ve heard all day. Downloading 4.11 now. Thanks!

Hey, sorry to bug you again, but since it does seem that–the best I can tell–my real issue is with the Widget “outer content” error…is that a common-ish thing with a common-ish fix? I went through all the widgets and cleared out all the “brush” backgrounds from the images to make it all as simple as possible… {shrug} Anyway, if you have any thoughts, it would be appreciated! Either way, Happy Friday!

This sounds like a different issue which I am happy to help you out with, as long as you can make a new answerhub post with some further details.

This is done so others can get an answer when searching for a similar issue, also so two issues are not confused as one. I don’t have much context in the issue you are describing, so be sure to elaborate as much as you can in what you are referring. Happy Friday as well!

Cheers,

No, that makes sense. I posted it here: https://answers.unrealengine.com/questions/419842/paper2d-game-crashes-on-launch-or-as-package-ios-f.html

Thanks again!