Description

Synced the code on Windows and transfered to Mac, the file PVRTexToolCLI lost its executable permission bits... UE4 couldn't run the tool, but carried on processing anyway, processing invalid texture data causing the engine to crash.

Would be good if the Editor stopped packaging immediately if it hits an error like this.

Steps to Reproduce
  1. On Mac, Mark PVRTexToolCLI as not executable
  2. Try to launch ARKit demo on supported iOS device
  3. Observe that UAT couldn't run the tool, but carried on processing anyway, processing invalid texture data causing the engine to crash.
Callstack

Log for crash:

 [2017.06.24-20.28.14:127][  0]LogPackageLocalizationCache: Processed 5 localized package path(s) for 2 prioritized culture(s) in 0.011067 seconds
 [2017.06.24-20.28.14:127][  0]LogStreaming:Error: Couldn't find file for package /Engine/EngineResources/DefaultTexture requested by async loading code. NameToLoad: /Engine/EngineResources/DefaultTexture
 [2017.06.24-20.28.14:128][  0]Error: CDO Constructor (MaterialExpressionTextureSampleParameter2D): Failed to find /Engine/EngineResources/DefaultTexture
 
 [2017.06.24-20.28.14:133][  0]LogPakFile: New pak file ../../../ARSample/Content/Paks/arsample-ios.pak added to pak precacher.
 [2017.06.24-20.28.14:135][  0]LogStreaming:Error: Couldn't find file for package /Engine/EngineMaterials/T_Default_Material_Grid_N requested by async loading code. NameToLoad: /Engine/EngineMaterials/T_Default_Material_Grid_N
 [2017.06.24-20.28.14:136][  0]LogStreaming:Error: Couldn't find file for package /Engine/EngineMaterials/T_Default_Material_Grid_M requested by async loading code. NameToLoad: /Engine/EngineMaterials/T_Default_Material_Grid_M
 [2017.06.24-20.28.14:137][  0]LogIOS: Selected Device Profile: [IPadPro]
 [2017.06.24-20.28.14:145][  0]LogStreaming:Error: Couldn't find file for package /Engine/EngineSounds/Master requested by async loading code. NameToLoad: /Engine/EngineSounds/Master
 [2017.06.24-20.28.14:172][  0]LogMaterial:Warning: FMaterialUniformExpressionTexture had invalid TextureIndex! (1 / 0)
 [2017.06.24-20.28.14:173][  0]LogStreaming:Error: Couldn't find file for package /Engine/EngineMaterials/DefaultDeferredDecalMaterial requested by async loading code. NameToLoad: /Engine/EngineMaterials/DefaultDeferredDecalMaterial

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-46816 in the post.

0
Login to Vote

Won't Fix
ComponentUE - Platform - XR
Affects Versions4.17
CreatedJul 5, 2017
ResolvedJan 11, 2019
UpdatedSep 16, 2019
View Jira Issue