Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question]: Import OneSignal packages unity 6 #769

Closed
1 task done
ronmara opened this issue Dec 1, 2024 · 6 comments
Closed
1 task done

[question]: Import OneSignal packages unity 6 #769

ronmara opened this issue Dec 1, 2024 · 6 comments
Labels

Comments

@ronmara
Copy link

ronmara commented Dec 1, 2024

How can we help?

I'm using Unity 6 (version 6000.0.29f1) and attempting to set up the OneSignal SDK (version 5.1.11). However, the "Import OneSignal packages" step fails without providing any error messages or logs to indicate what went wrong. I've attached a video demonstrating the issue.

Has anyone experienced this or have suggestions for resolving it?

Screen.Recording.2024-12-01.at.15.50.59.mov

Code of Conduct

  • I agree to follow this project's Code of Conduct
@burbaoleg
Copy link

burbaoleg commented Dec 2, 2024

Did you manage to solve the issue? Im stuck with the same problem (2022.3.16f1), even tried importing to a new project, but still no luck, OneSignal just doest import its package

@ralts00
Copy link

ralts00 commented Dec 3, 2024

Same problem :(

@burbaoleg
Copy link

burbaoleg commented Dec 3, 2024

I discovered that OneSignal Unity SDK has updated to version 5.1.11 few days ago, and i suspect that something is wrong in this update, something, that blocks us from importing package. Guess nothing left to do than to just simply wait for a new update or try to go back to previous versions with github

UPD: tried installing version 5.1.7 from github, worked first try. Apparently, it was for real because of the version 5.1.11

@ralts00
Copy link

ralts00 commented Dec 3, 2024

@burbaoleg Thank you very much for sharing this information. I am going to try with 5.1.7. I thought my problem was because I did not have the "google-services.json" file in the assets, but since they do not mention it in their documentation, I did not include it.

@shepherd-l
Copy link
Contributor

shepherd-l commented Dec 3, 2024

Thanks for bringing this to our attention. I've identified that this is currently a bug with our 5.1.11 release.

As burbaoleg mentioned, as a workaround:

  1. Install a previous version like: 5.1.10
  2. For Unity 6: Make sure to only import the files under OneSignal and uncheck all files under Packages (like the attached img below)

I've tested this successfully with Unity 6.000.0.29f1.

A fix will be released soon in 5.1.12 Should be working in 5.1.11 see below comment for more details

Screenshot 2024-12-03 at 11 57 31 AM

@shepherd-l shepherd-l added the Bug label Dec 3, 2024
@shepherd-l
Copy link
Contributor

shepherd-l commented Dec 3, 2024

Hi all

This issue has been resolved. Importing the package on version 5.1.11 should now work

If there are still issues, feel free comment and I'll reopen the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants