Unity için Cloud Storage ile ilgili hataları işleme
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Bazen bir uygulama oluştururken işler planlandığı gibi gitmez ve hata oluşur.
Şüpheniz varsa döndürülen hatayı kontrol edin ve hata mesajının ne söylediğine bakın.
Hata mesajını kontrol ettiyseniz ve işleminize izin veren Cloud Storage Security Rules olmasına rağmen hatayı düzeltmekte zorlanıyorsanız destek sayfamızı ziyaret ederek size nasıl yardımcı olabileceğimizi bildirin.
Hata Mesajlarını İşleme
Hataların oluşmasının çeşitli nedenleri vardır. Örneğin, dosya mevcut olmayabilir, kullanıcının istenen dosyaya erişme izni olmayabilir veya kullanıcı dosya yüklemeyi iptal etmiş olabilir.
Sorunu doğru şekilde teşhis etmek ve hatayı gidermek için müşterimizin bildireceği tüm Firebase.Storage.StorageException
hatalarının ve bu hataların nasıl oluşabileceğinin tam listesini aşağıda bulabilirsiniz.
Ad |
Neden |
ErrorUnknown |
Bilinmeyen bir hata oluştu. |
ErrorObjectNotFound |
Belirtilen referansta nesne yok. |
ErrorBucketNotFound |
Cloud Storage için yapılandırılmış bir paket yok. |
ErrorProjectNotFound |
Cloud Storage için proje yapılandırılmamış. |
ErrorQuotaExceeded |
Cloud Storage paketinizdeki kota aşıldı. Spark fiyatlandırma planını kullanıyorsanız kullandıkça öde Blaze fiyatlandırma planına geçmeyi düşünebilirsiniz. Blaze fiyatlandırma planını kullanıyorsanız Firebase Destek Ekibi ile iletişime geçin.
Önemli: 1 Ekim 2025'ten itibaren Cloud Storage (varsayılan paketler dahil) kullanmak için Blaze fiyatlandırma planı gerekli olacak. |
ErrorNotAuthenticated |
Kullanıcı doğrulanmamış. Kimliğinizi doğrulayıp tekrar deneyin. |
ErrorNotAuthorized |
Kullanıcının istenen işlemi gerçekleştirme yetkisi yok. Kurallarınızın doğru olduğundan emin olun. |
ErrorRetryLimitExceeded |
Bir işlemle (yükleme, indirme, silme vb.) ilgili maksimum süre sınırı aşıldı. Tekrar yüklemeyi deneyin. |
ErrorInvalidChecksum |
İstemcideki dosya, sunucu tarafından alınan dosyanın sağlama toplamıyla eşleşmiyor. Tekrar yüklemeyi deneyin. |
ErrorCanceled |
Kullanıcı, işlemi iptal etti. |
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-08-08 UTC.
[null,null,["Son güncelleme tarihi: 2025-08-08 UTC."],[],[],null,["# Handle errors for Cloud Storage for Unity\n\n\u003cbr /\u003e\n\nSometimes when you're building an app, things don't go as planned and an\nerror occurs.\n\nWhen in doubt, check the error returned, and see what the error message says.\n| **Note:** By default, a Cloud Storage for Firebase bucket requires Firebase Authentication to perform any action on the bucket's data or files. You can change your Firebase Security Rules for Cloud Storage to [allow unauthenticated access for specific situations](/docs/storage/security/rules-conditions#public). However, for most situations, we strongly recommend [restricting access and setting up robust security rules](/docs/storage/security/get-started) (especially for production apps). Note that if you use Google App Engine and have a default Cloud Storage bucket with a name format of `*.appspot.com`, you may need to consider [how your security rules impact access to App Engine files](/docs/storage/gcp-integration#security-rules-and-app-engine-files).\n\nIf you've checked the error message and have Cloud Storage Security Rules that allow your\naction, but are still struggling to fix the error, visit our\n[Support page](/support) and let us know how we can help.\n\nHandle Error Messages\n---------------------\n\nThere are a number of reasons why errors may occur, including the file\nnot existing, the user not having permission to access the desired file, or the\nuser cancelling the file upload.\n\nTo properly diagnose the issue and handle the error, here is a full list of\nall the [`Firebase.Storage.StorageException`](/docs/reference/unity/class/firebase/storage/storage-exception)\nerrors our client will raise, and how they can occur.\n\n| Name | Reason |\n|---------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `ErrorUnknown` | An unknown error occurred. |\n| `ErrorObjectNotFound` | No object exists at the specified reference. |\n| `ErrorBucketNotFound` | No bucket is configured for Cloud Storage. |\n| `ErrorProjectNotFound` | No project is configured for Cloud Storage. |\n| `ErrorQuotaExceeded` | Quota on your Cloud Storage bucket has been exceeded. If you're on the Spark pricing plan, consider upgrading to the [pay-as-you-go Blaze pricing plan](/pricing). If you're already on the Blaze pricing plan, reach out to Firebase Support. **Important** : Starting October 1, 2025, the [Blaze pricing plan will be *required* to use Cloud Storage](/docs/storage/faqs-storage-changes-announced-sept-2024), even default buckets. |\n| `ErrorNotAuthenticated` | User is unauthenticated. Authenticate and try again. |\n| `ErrorNotAuthorized` | User is not authorized to perform the requested action. Check your rules to ensure they are correct. |\n| `ErrorRetryLimitExceeded` | The maximum time limit on an operation (upload, download, delete, etc.) has been exceeded. Try uploading again. |\n| `ErrorInvalidChecksum` | File on the client does not match the checksum of the file received by the server. Try uploading again. |\n| `ErrorCanceled` | User canceled the operation. |"]]