コガネブログ

平日更新を目標に Unity や C#、Visual Studio、ReSharper などのゲーム開発アレコレを書いていきます

【Unity】Failed to register for remote notifications

概要

Firebase Cloud Messaging を導入した Unity プロジェクトを
iOS ビルドして動作確認したところ

Failed to register for remote notifications

上記のエラーが発生する現象に遭遇した

Mobile Notifications パッケージの Project Settings で
「Enable Push Notifications」をオンにしてビルドしたらエラーが発生しなくなった