cancel
Showing results for 
Search instead for 
Did you mean: 

Unity Terrain using splatmap causes Oculus Go build to crash

DoomsdayDevice
Honored Guest
My team is building a project to deploy to both the Oculus Go and Oculus Rift. The Go version uses a rendered skybox whereas the Rift version uses Unity Terrain. We have a script that enables / disables game objects depending on the platform. Everything works fine when the terrain has no texture (and therefor no splatmap). However, as soon as textures are added and a splatmap is generated, the Go build crashes (the terrain object is completely disabled when building for the Go). The issue is difficult to assess since there are no errors in the console when building for the Go. Thanks in advance for any assistance with this problem. 

Game Engine: Unity 2018.2.1f1

Edit: Just to be clear... the build finishes without errors / crashing. It's only when I try to run the APK on the Go that the project crashes. 
2 REPLIES 2

Halfspacer
Adventurer
Hi!
Disable compression on the splatmap textures in the Texture inspector and see if it runs. There's currently an issue with Unity Terrain Engine and ATSC compression for Android.

DoomsdayDevice
Honored Guest
That seems to have done the trick. Thanks @Tolin93!