Search Issue Tracker

Duplicate

Votes

0

Found in [Package]

1.11.2

Issue ID

ISXB-1263

Regression

Yes

[Mobile] 'InputAnalytics.IInputAnalytic' does not contain a definition for 'TryGatherData' error is thrown when building

Package: Input System

-

Reproduction steps:
1. Open the attached “ASDQWE” project
2. Open the Build Profiles Window (File > Build Profiles)
3. In the Build Profiles Window, press the “Build” button to build an XCode project
4. Observe the Editor

Expected result: No errors are thrown and the build succeeds
Actual result: “Library/PackageCache/com.unity.inputsystem/InputSystem/NativeInputRuntime.cs(411,26): error CS1061: 'InputAnalytics.IInputAnalytic' does not contain a definition for 'TryGatherData' and no accessible extension method 'TryGatherData'“ error is thrown failing the build

Reproducible with: 1.8.2 (6000.0b16), 1.11.2 (6000.0.0b16, 6000.0.30f1, 6000.1.0a7)
Not reproducible with: 1.8.2 (2021.3.46f1), 1.11.2 (2021.3.46f1, 2022.3.54f1)
Could not test with: 1.11.2 (6000.0.0b15 (“error CS0103: The name 'InputModuleComponentFactory' does not exist in the current context” compilation error))

Reproducible on: MacOS 15.1.1 Intel, M1 (user’s)
Not reproducible on: No other environment tested

Notes:
- The error is thrown on Android and iOS builds. I could not test the Standalone MacOS build due to other build error
- Rebuilding the Library folder does not solve the issue
- Could not test with the 2023.1, 2023.2, and 2023.3 Streams due to multiple different compilation errors

  1. Resolution Note:

    Thanks for reporting this issue. This ticket will be closed since it seems to be a duplicate of https://issuetracker.unity3d.com/issues/error-cs1061-inputanalytics-dot-iinputanalytic-does-not-contain-a-definition-for-trygatherdata-is-thrown-when-rebuilding-addressable-assets-cache and the associated reproduction project has build issues outside of the reported issue. The symptoms of the problem are the same and both relates to specific compilation flows relating to Input System analytic symbols. There are also reports of the fix for ISXB-1203 indicating that it resolves mobile target compilation for other users in this forum thread: https://discussions.unity.com/t/library-packagecache-com-unity-inputsystem-inputsystem-nativeinputruntime-cs/1522084/13.
    Feel free to reopen this ticket if fix provided for the above mentioned duplicate is not sufficient or more information may be provided for how to successfully replicate this.
    The forum thread linked above provides information regarding a single line edit that can be used as a workaround until the next Input System package release (expecting 1.13.0 is out) which should resolve this issue.
    Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/ISXB-1203

Comments (2)

  1. DimmieAzu

    Dec 16, 2024 15:47

    Same issue (Unity 6000.0.28f1 (1.11.2))

  2. Emily60

    Nov 30, 2024 13:06

    Hi everyone I am Emily Naomi wanna give a big thanks to this wonderful psychic for bringing my husband back to me.. I never really believed in magic spells or anything spiritual but a trusted friend opened my eyes to the truth about life. My marriage was heading to divorce a few months ago. I was so confused and devastated with no clue or help on how to prevent it, till I was introduced to this psychic Priest Ray that did a love spell and broke every spiritual distraction from my marriage. A day later my husband started showing me love and care even better than it used to be, he’s ready to talk things through and find ways for us to stay happy. It’s such a miracle that my marriage can be saved so quickly without stress. You can also contact him for help by email psychicspellshrine@gmail. com

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.