outfrost / deckswipe

Single player card game skeleton based on Reigns and Lapse
MIT License
75 stars 29 forks source link

Problem with GoogleSheetsImporter using Windows #33

Closed TashaHazel closed 4 years ago

TashaHazel commented 4 years ago

Hi outfrost, there are a few error when I try to run your project in Unity. I already create new API Key at Google Cloud Platform and paste the key at _apiKey variable but it's still not working. Is there any solution that I can use to fix these problems?

image

outfrost commented 4 years ago

There are a few possible issues here.

  1. You've posted your API key publicly in the above screenshot. Just so you know, that's not recommended, because other people could abuse your request quota, or even (in extreme cases) get your Google Cloud account suspended for abuses. That's why I deactivated the API key included in this codebase when I stopped paying attention to the project. But it's not a huge deal :)
  2. The NullReferenceException in GameProgress.AttachReferences() is described in #32, with a simple solution provided (just not yet upstreamed).
  3. I'm not sure why you would be getting a 403 from Google, as the spreadsheet you're trying to fetch is still publicly viewable. Maybe you haven't enabled the Sheets v3 API for your API key? have a look around the Google Cloud Console.
TashaHazel commented 4 years ago

Hi, I am sorry. I do not realized that the API key should not be share in public, thanks for your info! Alright I will try later, thank you for your response :)

outfrost commented 4 years ago

Any luck? Should I close this?

TashaHazel commented 4 years ago

Yes please.

On Sat, 29 Feb 2020 at 08:49, outfrost notifications@github.com wrote:

Any luck? Should I close this?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/outfrost/deckswipe/issues/33?email_source=notifications&email_token=AJNRK322FTUG4VMUYZJJJXDRFBNQDA5CNFSM4JZYE3O2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENKVPIQ#issuecomment-592795554, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJNRK343NB2KOZMSAYLF7BDRFBNQDANCNFSM4JZYE3OQ .