সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
.NET 3.X এবং .NET 4.X উভয়ের জন্যই সমস্ত .unitypackage ফাইল সমন্বিত একটি বড় .zip ফাইল ডাউনলোড করার পরিবর্তে, আপনি ইউনিটি সাইটের জন্য Google APIs থেকে পৃথক প্যাকেজগুলি ডাউনলোড করতে পারেন৷
সাইট প্রদান করে:
স্বতন্ত্র .NET 4.X .unitypackage ফাইলগুলি সম্পদ প্যাকেজ হিসাবে আমদানি করতে।
ইউনিটি প্যাকেজ ম্যানেজার ব্যবহার করে আমদানি করার জন্য পৃথক .tgz সংরক্ষণাগার।
এটি বিশেষভাবে উপযোগী যখন আপনার অ্যাপ একটি একক ফায়ারবেস পণ্য ব্যবহার করে, যেহেতু পৃথক .unitypackage ফাইলগুলিতে সমস্ত প্রয়োজনীয় নির্ভরতা থাকে এবং .tgz ফাইলগুলি সংশ্লিষ্ট .tgz ফাইলগুলির সাথে তালিকাভুক্ত করা হয় যার উপর তারা নির্ভর করে৷
এই পৃষ্ঠাটি ইউনিটি প্যাকেজ ম্যানেজার সম্পর্কিত নির্দেশাবলী প্রদান করে, তাই ইউনিটি ডকুমেন্টেশন থেকে টুলটি সম্পর্কে জানা একটি ভাল ধারণা।
সম্পদ হিসাবে Firebase প্যাকেজ আমদানি করুন
Unity সাইটের জন্য Google APIs থেকে ডাউনলোড করা .unitypackage ফাইল থেকে Firebase পণ্য আমদানি করার সময়, নিম্নলিখিতগুলি মনে রাখবেন:
আপনি যদি আপনার প্রকল্পে একাধিক Firebase পণ্য ব্যবহার করেন, তাহলে আপনাকে অবশ্যই একই সংস্করণে সমস্ত Firebase পণ্য ডাউনলোড এবং আপগ্রেড করতে হবে।
একটি প্রকল্পে আমদানি পদ্ধতি মিশ্রিত করবেন না। অর্থাৎ, অ্যাসেট প্যাকেজ ফ্লো এবং ইউনিটি প্যাকেজ ম্যানেজার ফ্লো ব্যবহার করে Firebase পণ্য আমদানি করবেন না।
আপনি যদি আপনার প্রকল্পে একাধিক Firebase পণ্য ব্যবহার করেন, তাহলে আপনাকে অবশ্যই একই সংস্করণে সমস্ত Firebase পণ্য ডাউনলোড এবং আপগ্রেড করতে হবে।
একটি প্রকল্পে আমদানি পদ্ধতি মিশ্রিত করবেন না। অর্থাৎ, সম্পদ প্যাকেজ ফ্লো এবং ইউনিটি প্যাকেজ ম্যানেজার ফ্লো সহ Firebase পণ্য আমদানি করবেন না।
প্রতিটি পণ্য .tgz ফাইলের জন্য নির্ভরতা তাদের নিজস্ব .tgz ফাইলের পাশাপাশি লিঙ্ক করা হয়। আপনাকে অবশ্যই সঠিক ক্রমে পণ্য .tgz ফাইল এবং নির্ভরতা .tgz ফাইল ডাউনলোড এবং আমদানি করতে হবে:
আপনার প্রকল্পে ব্যবহৃত ফায়ারবেস পণ্য। আপনি যদি Realtime Database বা Cloud Storage ব্যবহার করেন, প্রথমে Authentication ( com.google.firebase.auth ) আমদানি করুন৷
ডাউনলোড করার পরে, নিম্নলিখিত পদ্ধতিগুলির মধ্যে একটি ব্যবহার করে আপনার প্রকল্পে .tgz ফাইলগুলি আমদানি করুন:
প্যাকেজ ম্যানেজার UI
ইউনিটির প্যাকেজ ম্যানেজার উইন্ডো খুলুন।
প্যাকেজ ম্যানেজার উইন্ডোর উপরের বাম কোণে + আইকনে ক্লিক করুন এবং ফাইল ব্রাউজার খুলতে Add package from tarball নির্বাচন করুন।
ফাইল ব্রাউজারে পছন্দসই টারবল নির্বাচন করুন।
ইউনিটি 2019 এর কিছু পুরানো সংস্করণ সরাসরি টারবল যোগ করা সমর্থন করে না। এই ক্ষেত্রে, আপনার প্রয়োজন হবে:
.tgz ফাইলটি আনজিপ করুন।
প্যাকেজ ম্যানেজার উইন্ডোর উপরের-বাম কোণে + আইকনে ক্লিক করুন এবং ফাইল ব্রাউজার খুলতে Add package from disk নির্বাচন করুন।
ফাইল ব্রাউজারে এক্সট্রাক্ট করা ফোল্ডারটি নির্বাচন করুন।
manifest.json
আপনার প্রকল্পের Packages ফোল্ডারের পাশে একটি নতুন ফোল্ডার তৈরি করুন এবং এটির নাম দিন GooglePackages ।
সেই ফোল্ডারে .tgz ফাইল রাখুন।
আপনার ইউনিটি প্রকল্প ফোল্ডারের অধীনে Packages/manifest.json খুলতে একটি পাঠ্য সম্পাদক ব্যবহার করুন।
আপনি আমদানি করতে চান এমন প্রতিটি প্যাকেজের জন্য একটি এন্ট্রি যোগ করুন, ডিস্কের অবস্থানে প্যাকেজের নাম ম্যাপিং করুন। file:.tgz ফাইল পাথে। উদাহরণস্বরূপ, আপনি যদি com.google.firebase.storage এবং এর নির্ভরতা আমদানি করেন, তাহলে আপনার manifest.json দেখতে এইরকম হবে:
ইউনিটি প্যাকেজ ম্যানেজার থেকে অ্যাসেট প্যাকেজে মাইগ্রেট করুন
কিছু ক্ষেত্রে, আপনি ফায়ারবেস পণ্যগুলি ট্র্যাক করতে, Assets ফোল্ডারের অধীনে পণ্য আমদানি করতে ইউনিটি প্যাকেজ ম্যানেজার ব্যবহার করা থেকে স্যুইচ করতে চাইতে পারেন৷
আপনার ইউনিটি প্রোজেক্ট ফোল্ডারে আপনি কোন আমদানি পদ্ধতি ব্যবহার করছেন তা নিশ্চিত না হলে Packages/manifest.json ফাইলটি খুলুন। যদি ফাইলটিতে com.google.firebase থেকে শুরু করে এন্ট্রি থাকে, তাহলে আপনার প্রকল্প আমদানির জন্য ইউনিটি প্যাকেজ ম্যানেজার ব্যবহার করেছে।
সম্পদ প্যাকেজে স্থানান্তর করতে:
আপনার প্রকল্পে বর্তমান ফায়ারবেস প্যাকেজ সংস্করণগুলি নোট করুন এবং সেগুলি সরান৷
উইন্ডো মেনু থেকে, প্যাকেজ ম্যানেজার নির্বাচন করুন। প্যাকেজ ম্যানেজার উইন্ডোতে, নিশ্চিত করুন "প্যাকেজ: প্রজেক্টে" নির্বাচন করা হয়েছে।
প্রতিটি প্যাকেজের নামের উপর ক্লিক করুন, তারপর সরান ক্লিক করুন। এক্সটার্নাল ডিপেনডেন্সি ম্যানেজার প্যাকেজ ( .com.google.external-dependency-manager ) এর পাশাপাশি Firebase প্যাকেজগুলি সরিয়ে ফেলার বিষয়ে নিশ্চিত হন।
প্রতিস্থাপন .unitypackage ফাইল ডাউনলোড এবং আমদানি করুন। আপনার দুটি বিকল্প আছে:
আপনি যদি প্রতিটি প্যাকেজের সর্বশেষ সংস্করণে আপগ্রেড করতে পারেন, Firebase ইউনিটি SDK জিপ ফাইলটি ডাউনলোড করুন এবং আপনার ইউনিটি প্রকল্পে Firebase যোগ করুন- এ বর্ণিত হিসাবে আমদানি করুন।
আপনি যদি বর্তমান .unitypackage সংস্করণগুলি সংরক্ষণ করতে চান, আপনি এই পৃষ্ঠায় উপরে বর্ণিত পৃথক প্যাকেজগুলি ডাউনলোড এবং আমদানি করতে পারেন।
অ্যাসেট প্যাকেজ থেকে ইউনিটি প্যাকেজ ম্যানেজারে স্থানান্তর করুন
কিছু ক্ষেত্রে, আপনি Assets ফোল্ডারের অধীনে পণ্য আমদানি করা থেকে ইউনিটি প্যাকেজ ম্যানেজারের মাধ্যমে পণ্য আমদানি এবং ট্র্যাকিংয়ে স্যুইচ করতে চাইতে পারেন।
আপনার ইউনিটি প্রোজেক্ট ফোল্ডারে আপনি কোন আমদানি পদ্ধতি ব্যবহার করছেন তা নিশ্চিত না হলে Packages/manifest.json ফাইলটি খুলুন। যদি ফাইলটিতে com.google.firebase থেকে শুরু করে এন্ট্রি থাকে তবে আপনার প্রকল্পটি ইতিমধ্যেই আমদানির জন্য ইউনিটি প্যাকেজ ম্যানেজার ব্যবহার করছে৷
ইউনিটি প্যাকেজ ম্যানেজারে মাইগ্রেট করতে:
নিশ্চিত করুন যে সমস্ত ফায়ারবেস প্যাকেজ এবং এক্সটার্নাল ডিপেন্ডেন্সি ম্যানেজার প্যাকেজ নিম্নলিখিত পদ্ধতিগুলির যেকোন একটি ব্যবহার করে Assets ফোল্ডার থেকে সরানো হয়েছে৷
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-09-03 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["\u003cbr /\u003e\n\nRather than downloading a large `.zip` file containing all `.unitypackage`\nfiles for both .NET 3.X and .NET 4.X, you can download individual packages from\nthe [Google APIs for Unity site](https://developers.google.com/unity/packages).\n\nThe site provides:\n\n- Individual .NET 4.X `.unitypackage` files to import as Asset packages.\n- Individual `.tgz` archives to import using Unity Package Manager.\n\nThis is especially useful when your app uses a single Firebase product, since\nthe individual `.unitypackage` files contain all needed dependencies, and the\n`.tgz` files are listed alongside related `.tgz` files on which they depend.\n\nThis page provides instructions involving Unity Package Manager, so it's a good\nidea to learn about the tool [from the Unity documentation](https://docs.unity3d.com/Manual/Packages.html).\n| **Note:** If you still need to use .NET 3.x, download the entire Firebase SDK as described in [Add Firebase to your Unity project](/docs/unity/setup#add-sdks).\n\nImport Firebase packages as Assets\n\nWhen importing Firebase products from `.unitypackage` files downloaded from\n[Google APIs for Unity site](https://developers.google.com/unity/packages),\nkeep the following in mind:\n\n- If you are using multiple Firebase products in your project, you must download\n and upgrade all Firebase products to the same version.\n\n- Do not mix import methods in one project. That is, do not import\n Firebase products with the Asset package flow and using the Unity Package\n Manager flow.\n\nAfter downloading, to import:\n\n1. In your open Unity project, navigate to **Assets** \\\u003e **Import Package** \\\u003e\n **Custom Package**.\n\n2. In the *Import Unity Package* window, click **Import**.\n\nImport Firebase packages using Unity Package Manager\n\nWhen importing Firebase products from `.tgz` files downloaded from the [Google APIs for Unity archive](https://developers.google.com/unity/archive), keep the following in mind:\n\n- This method is only available in 2018.3+.\n\n- If you are using multiple Firebase products in your project, you must download\n and upgrade all Firebase products to the same version.\n\n- Do not mix import methods in one project. That is, do not import\n Firebase products with the Asset package flow and with the Unity Package Manager\n flow.\n\n- Dependencies for each product `.tgz` file are linked alongside in their own\n `.tgz` files. You must download and import the product `.tgz` file and\n dependency `.tgz` files, in the correct order:\n\n 1. External Dependency Manager (`com.google.external-dependency-manager`)\n 2. Firebase Core (`com.google.firebase.app`)\n 3. Firebase products used in your project. If you use Realtime Database or Cloud Storage, import Authentication (`com.google.firebase.auth`) first.\n\nAfter downloading, import `.tgz` files into your project using one of the\nfollowing methods: \n\nPackage Manager UI\n\n1. Open Unity's Package Manager window.\n2. Click the `+` icon in the top-left corner of the Package Manager window and select `Add package from tarball` to open the file browser.\n3. Select the desired tarball in the file browser.\n\nSome older versions of Unity 2019 do not support adding tarballs directly.\nIn this case, you will need to:\n\n1. Unzip the `.tgz` file.\n2. Click the `+` icon in the top-left corner of the Package Manager window and select `Add package from disk` to open the file browser.\n3. Select the extracted folder in the file browser.\n\nmanifest.json\n\n1. Create a new folder next to your project's `Packages` folder and name it `GooglePackages`.\n2. Place the `.tgz` files into that folder.\n3. Use a text editor to open `Packages/manifest.json` under your Unity project folder.\n4. Add an entry for each package you want to import, mapping the package name\n to the location on disk. Be sure to append `file:` to the `.tgz` file path. For\n example, if you were importing `com.google.firebase.storage` and its\n dependency's, your `manifest.json` would look like this:\n\n {\n \"dependencies\": {\n \"com.google.external-dependency-manager\": \"file:../GooglePackages/com.google.external-dependency-manager-1.2.164.tgz\",\n \"com.google.firebase.app\": \"file:../GooglePackages/com.google.firebase.app-7.1.0.tgz\",\n \"com.google.firebase.auth\": \"file:../GooglePackages/com.google.firebase.auth-7.1.0.tgz\",\n \"com.google.firebase.storage\": \"file:../GooglePackages/com.google.firebase.storage-7.1.0.tgz\",\n // com.unity package entries...\n }\n }\n\n5. Save the `manifest.json` file.\n\n6. When Unity regains focus it will reload the `manifest.json` and import the\n newly-added packages.\n\nSome older versions of Unity do not support `.tgz` files in the `manifest.json`.\nIn this case, you should:\n\n1. Unzip the `.tgz` file.\n2. Edit your `manifest.json` to use the path to the extracted folder, instead\n of the `.tgz` file, like so:\n\n {\n \"dependencies\": {\n \"com.google.external-dependency-manager\": \"file:../GooglePackages/com.google.external-dependency-manager-1.2.164\",\n \"com.google.firebase.app\": \"file:../GooglePackages/com.google.firebase.app-7.1.0\",\n \"com.google.firebase.auth\": \"file:../GooglePackages/com.google.firebase.auth-7.1.0\",\n \"com.google.firebase.storage\": \"file:../GooglePackages/com.google.firebase.storage-7.1.0\",\n // com.unity package entries...\n }\n }\n\nMigrate from Unity Package Manager to Asset packages\n\nIn some cases, you might want to switch from using Unity Package Manager to\ntrack Firebase products, to importing products under the `Assets` folder.\n\nIf you're not sure which import method you're using, in your Unity project\nfolder, open the file `Packages/manifest.json`. If the file contains entries\nstarting with `com.google.firebase`, your project used Unity Package Manager for\nimport.\n\nTo migrate to Asset packages:\n\n1. Note current Firebase package versions in your project and remove them.\n\n 1. From the **Window** menu, select **Package Manager** . In the *Package\n Manager* window, make sure \"Packages: In Project\" is selected.\n 2. Note the versions of imported Firebase packages.\n 3. Click on each package name, then click **Remove** . Be sure to remove the External Dependency Manager package (`.com.google.external-dependency-manager`) as well as Firebase packages.\n2. Download and import replacement `.unitypackage` files. You have two options:\n\n - If you can upgrade to the latest version of each package, download the Firebase Unity SDK zip file and import as described in [Add Firebase to\n your Unity project](/docs/unity/setup#add-sdks).\n - If you need to preserve current `.unitypackage` versions, you can download and import individual packages as described [above](#alternative_individual_unitypackages) on this page.\n\nMigrate from Asset packages to Unity Package Manager\n\nIn some cases, you might want to switch from importing products under the\n`Assets` folder to importing and tracking products with Unity Package Manager.\n\nIf you're not sure which import method you're using, in your Unity project\nfolder, open the file `Packages/manifest.json`. If the file contains entries\nstarting with `com.google.firebase` your project is already using Unity Package\nManager for import.\n\nTo migrate to Unity Package Manager:\n\n1. Make sure all Firebase packages and the External Dependency Manager package\n are removed from the `Assets` folder, using either of the following methods.\n\n EDM4U UI\n\n\n 1. In your open Unity project, navigate to **Assets \\\u003e External\n Dependency Manager \\\u003e Version Handler \\\u003e Uninstall Managed\n Packages**.\n 2. Select all Firebase packages and External Dependency Manager.\n 3. Click **Uninstall Selected Package**.\n\n \u003cbr /\u003e\n\n Manual removal\n\n Using file system tools, manually delete the following folders:\n - `Assets/Editor Default Resources/Firebase`\n - `Assets/ExternalDependencyManager`\n - `Assets/Firebase`\n - `Assets/Parse`\n - `Assets/Plugins/iOS/Firebase`\n2. Import packages using Unity Package Manager, as described [above](#alternative_unity_package_manager)\n on this page."]]