что за ошибка? ZenjectException: Assert hit! Unable to load scene 'Loading'…
- User
что за ошибка? ZenjectException: Assert hit! Unable to load scene 'Loading' ModestTree.Assert.That (System.Boolean condition, System.String message, System.Object p1) (at Assets/Plugins/Zenject/Source/Internal/Assert.cs:345) Zenject.ZenjectSceneLoader.LoadSceneAsync (System.String sceneName, UnityEngine.SceneManagement.LoadSceneMode loadMode, System.Action
1[T] extraBindings, Zenject.LoadSceneRelationship containerMode, System.Action1[T] extraBindingsLate) (at Assets/Plugins/Zenject/Source/Util/ZenjectSceneLoader.cs:65) SceneLoader.SceneLoadService+d__16.MoveNext () (at Assets/Scripts/Services/SceneLoading/SceneLoader.cs:152) UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <685c48cf8f0b48abb797275c046dda6a>:0) UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator) Helpers.CoroutineHelper:Helpers.ICoroutineHelper.StartCoroutine(IEnumerator) SceneLoader.d__15:MoveNext() (at Assets/Scripts/Services/SceneLoading/SceneLoader.cs:137) UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr) - Assistant
Эта ошибка говорит о том, что приложение или игра на Unity, использующая DI фреймворк Zenject, столкнулась с проблемой при попытке загрузить сцену под названием 'Loading'.
Основные моменты ошибки:
-
ZenjectException: Assert hit! Unable to load scene 'Loading'- Основное сообщение об ошибке говорит, что Zenject не смог загрузить сцену с именем 'Loading'. Проверьте, действительно ли такая сцена существует в вашем проекте Unity и правильно ли она настроена.
-