Search Issue Tracker

Fixed

Fixed in 6000.0.28f1, 6000.1.0a4, 7000.0.0a10

Votes

0

Found in

2023.3.0a11

6000.0.20f1

Issue ID

UUM-83044

Regression

Yes

Assets that have a platform dependency are not reimported when moving the project from Mac to Windows

--

-

The RayTracingShaderImporter has platform target as a dependency. If an associated asset is created on Mac then when opening the project containing the asset (and Library folder) on Windows, the asset is not reimported automatically. **

*Steps to reproduce:*

1. Unzip and open the attached project TestMac-1.zip on Windows using Unity 6000.0.20f1 (05208a74e9aa).

2. Click on the NewRayTracingShader.raytrace and notice the errors in the Inspector.

3. Open the Import Activity window and notice that the file was not reimported when opening the project on Windows.

4. Reimport the asset *manually* and notice the Reasons in the Import Activity window.

*Actual results:* The NewRayTracingShader.raytrace asset is *NOT* reimported when opening the project on Windows.

*Expected results:* The NewRayTracingShader.raytrace asset is reimported when opening the project on Windows because of the target platform change.

*Reproducible with versions:* 6000.0.20f1 (05208a74e9aa),  *2023.3.0a11*

*Not reproducible with versions:* Doens't reproduce before  *2023.3.0a11*

*Tested on (OS):* Windows 11 23H2 

*Notes:*
* See the attached images (Mac.png and Windows.png) with the Import Activity window.
* On Mac after creating a NewRayTracingShader.raytrace asset - Mac.png
* On Windows after the asset is reimported *manually* after opening the zipped project. Notice the Reasons for importing the asset correctly detects the target platform change from 2 on Mac to 19 on Windows - Windows.png.
* To create an asset using RayTracingShaderImporter then use the context menu in the assets window: Create > Shader > Ray Tracing Shader.

*Slack threads:*

[https://unity.slack.com/archives/C05GGGKTWAF/p1727342622347019]

[https://unity.slack.com/archives/CV9P2CNP4/p1727103483086639]

 

  1. Resolution Note (fix version 7000.0.0a10):

    Fix verified in:

    Unity 7 Alpha
    7000.0.0a10.git.38437
    Revision: main 96252e0784f8
    Built: Mon, 18 Nov 2024 14:41:18 GMT

  2. Resolution Note (fix version 6000.1.0a4):

    Fix verified in:

    Unity 6.1 Alpha
    6000.1.0a4.563
    Revision: trunk aefa73d97d12
    Built: Mon, 04 Nov 2024 20:31:13 GMT

  3. Resolution Note (fix version 6000.0.28f1):

    Fix verified in:

    Unity 6
    6000.0.29f1.9111
    Revision: 6000.0/staging 824cb2369e36
    Built: Fri, 15 Nov 2024 19:19:34 GMT

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.