Search Issue Tracker

Fixed

Votes

0

Found in [Package]

1.21.10

Issue ID

ADDR-3337

Regression

No

CS0103 error is thrown when enabling "Addressable Assets" profiling and when selecting the Build Platform as Switch or PS4

Package: Addressables

-

Reproduction steps:
1. Open the attached "repro_IN-37672ProfilerStrings.zip" project
2. Change Build Platform to PS4 or Switch
3. Observe the error in the Console

Expected result: No error is thrown
Actual result: Error CS0103 is thrown

Reproducible with: 1.21.3 (2023.2.0a5), 1.21.8 (2023.2.0a7), 1.21.10 (2023.2.0a11)
Could not test with: 1.21.2 (2023.2.0a5) (AddressablesProfilerDetailsDataInspector class is not available)

Reproduced on: Windows 10

Note:
- Full error: "Library\PackageCache\com.unity.addressables@1.21.3\Editor\Diagnostics\Profiler\AddressablesProfilerDetailsDataInspector.cs(217,44): error CS0103: The name 'DownloadWithoutCachingEnabled' does not exist in the current context"
- The error is thrown because of the “Packages\Addressables\Editor\Diagnostics\Profiler\AddressablesProfilerDetailsDataInspector.cs” file. In line 217, “ProfilerStrings.” is missing before “DownloadWithoutCachingEnabled”

  1. Resolution Note:

    Fixed by another internal issue: ADDR-3313: [Switch] 2022.2 Compilation error with Addressables and Unity Profiling Core API installed

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.