Search Issue Tracker

Fixed

Votes

0

Found in [Package]

1.0.0-pre.9

Issue ID

LOC-199

Regression

Yes

[Localization] NullReferenceException when pushing empty string to google sheets

Package: Localization

-

Reproduction steps:
1. Create a new project
2. Setup Google Sheet Service
3. Create a Table
4. Add an empty Key and push it to a Spreadsheet

Expected result: NullReferenceException is not outputted when pushing empty string to Google Sheets
Actual result: NullReferenceException when pushing empty string to Google Sheets

Reproducible on: Localization 1.0.0-pre.9 (2019.4.27f1, 2020.3.10f1, 2021.1.9f1, 2021.2.0a17)
Not reproducible on: Localization 0.7.1-preview - 1.0.0-pre.8 (2019.4.27f1, 2020.3.10f1, 2021.1.9f1, 2021.2.0a17)

Notes:
-Exception:
Push `New Table` to Google Sheets: Failed
Object reference not set to an instance of an object
UnityEngine.UnitySynchronizationContext:ExecuteTasks ()
-Issue can be fixed locally by modifying GoogleSheets.cs line 389:
if (tableEntries.Length > 0 && (tableEntries\[0]?.SharedEntry?.Metadata?.HasMetadata<ExcludeEntryFromExport>() ?? false)) continue;

Comments (1)

  1. Erfanse

    Dec 18, 2022 12:36

    Hey Team,
    Greetings

    Please help me out with a sheet that belongs to my project as I am stuck for the past 3 days, I need to track some particular item using validation but the challenge is if the tracking number have more than 4 items it will over write data in the below cell and the formula will not work. Can you guys help me out.
    Here I am not able to share the sheet link.

    f anyone is there who knows about this please help me out

    Thanks
    Regards

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.