Search Issue Tracker

By Design

Votes

20

Found in

5.5.0b7

Issue ID

838212

Regression

No

[Player] Missed texture and shader on mesh generated from terrain asset file in Standalone build

Deployment Management

-

Steps to repro:

1. Open Unity;
2. Open attached project ('Terrain to Mesh' package from A$);
3. In the Project folder go to Assets -> VacuumShaders -> Terrain To Mesh -> Example Scenes;
4. Open '2. Runtime' scene;
5. Launch the scene;
6. Notice that both terrain asset (the most left one) and mesh terrains (middle and right ones) are rendered correctly - with textures and heightmap;
7. Build the scene for Standalone;
8. Run the scene.

Actual result:
Shader for middle mesh terrain is not compiled - it's pink; Second mesh terrain is rendered without texture. See attached actual.png screenshot.

Also following error is shown in the console:

'Trying to add file "Temp/StagingArea/Data/sharedassets0.assets.resS" which does not exist on disk.
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()'

Expected result:
Both runtime mesh terrains should be rendered exactly the same as in Editor's Play mode - with correct textures. See attached expected.png screenshot.

Notes:
- Reproducible in 5.5.0b6, 5.5.0b5, 5.4.1f1, 5.4.0f3, 5.3.4p6, 5.2.2p4;
- Reproducible on both OSX 10.12 and Windows 10;
- Reproducible in 'Terrain to Mesh' package from Asset Store.

Comments (10)

  1. C8b45e4aff2a6fecb4039c90ec78e6c6?d=mm

    sebcroft

    Mar 10, 2017 21:23

    I deleted the metas and everything worked fine

  2. Fbc5be6514990445198d579163d9c67a?d=mm

    j_abie

    Feb 25, 2017 09:18

    i had the same issue. Trying to add file "Temp/StagingArea/Data/sharedassets0.assets.resS" which does not exist on disk.

    Solved it by deleting Temp folder inside project and reimporting project. it works fine for me. cheers!

  3. 45e47b3e03318b4c43aae7a6dcc3f72c?d=mm

    alexrember

    Feb 06, 2017 16:42

    Trying to add file "Temp/StagingArea/Data/sharedassets0.assets.resS" which does not exist on disk.

    my version is 5.5.1f1

  4. 1ae8ff1d929034893fbfc02d8cf9cde9?d=mm

    xife

    Dec 02, 2016 08:31

    wrong issue. delete my comment here. I can't myself

  5. 1ae8ff1d929034893fbfc02d8cf9cde9?d=mm

    xife

    Dec 02, 2016 08:27

    I have it in 5.5.0f3

    Trying to add file "Temp/StagingArea/Data/sharedassets0.assets.resS" which does not exist on disk.
    UnityEditor.HostView:OnGUI()

    Trying to add file "Temp/StagingArea/Data/sharedassets0.assets.resS" which does not exist on disk.

    in-apps
    black screen on android when game starts

  6. Eb622127358854b6ff969888a55d841c?d=mm

    krippulo

    Nov 15, 2016 16:56

    Getting the same error when trying to build the official Multiplayer-Networking Tutorial for android:

    Trying to add file "Temp/StagingArea/Data/sharedassets0.assets.resS" which does not exist on disk.
    UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

    I'm using 5.5.0b5 on Ubuntu.

  7. 62b80f417aba4f78429819b5337e10bf?d=mm

    Wenger95

    Nov 06, 2016 19:43

    5.5.0b10, still have the same error

  8. 216b886d9f481b37bc4c6179fd945f53?d=mm

    kupalinka

    Nov 03, 2016 14:21

    The same thing. in 5.5.0x2Linux

  9. 99dd6fc9945646351f8bd042507db39c?d=mm

    GKRJSairam

    Oct 27, 2016 23:03

    While building facing this issue..

    Trying to add file "Temp/StagingArea/Data/sharedassets0.assets.resS" which does not exist on disk. UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
    5.5.0b7

  10. 62b80f417aba4f78429819b5337e10bf?d=mm

    Wenger95

    Oct 26, 2016 18:29

    I have same issue. Trying to add file "Temp/StagingArea/Data/sharedassets0.assets.resS" which does not exist on disk.

    My version is 5.5.0b9

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.