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

Library\PackageCache\[email protected]\Runtime\UGUI\UI\Core\Dropdown.cs(734,24): error CS0103: The name ‘ListPool’ does not exist in the current context #743

Open
5 tasks done
thekrocker opened this issue Jan 16, 2025 · 4 comments
Labels

Comments

@thekrocker
Copy link

Checklist

Environment

Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:

  • Unity Editor Version: 6000.0.29
  • Unity SDK Version: 17.0.1
  • Installation Platform & Version: Android

Goals

What do you want to achieve?
I want to install Facebook Unity SDK Succesfully.

Expected Results

What do you expect to happen?

  • Having no compile errors

Actual Results

After installing Facebook SDK, it conflicts with ugui of Unity because of Dropdown class.

Library\PackageCache\com.unity.ugui@2.0.0\Runtime\UGUI\UI\Core\Dropdown.cs(734,24): error CS0103: The name ‘ListPool’ does not exist in the current context

What actually happened? Can you provide a stack trace?
It conflicted with Unity's UGUI package.

Steps to Reproduce

What are the steps necessary to reproduce this issue?

  • Download Facebook, Import to Unit.

Solution & Details

  • Solution 1: to remove Library folder in Unity project folder, and re-open Unity project.
  • Solution 2: Removing Unity UI in Unity Registry in the Package manager, and reinstall via clicking + icon and "com.unity.ugui".

This problem has been alive for months. I think it should be updated in in Dropdown or ListPool class in source code.

@thekrocker thekrocker added the bug label Jan 16, 2025
@doronn
Copy link

doronn commented Feb 5, 2025

I just encountered this as well.
I am confused as to why the sdk even edits this unity package?

@diemonic1
Copy link

Any solutions?

@thekrocker
Copy link
Author

Any solutions?

I have already provided solution on the text.

@EgeAtPachamama
Copy link

I have this happen whenever I import FacebooK SDK into one of our projects for the last year. Usually just closing and reopening solves the issue. @thekrocker 's solution always works if open/close doesn't solve it.

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