Code Monkey home page Code Monkey logo

syrinj's People

Contributors

mattvr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

syrinj's Issues

SceneInjector's OnLevelWasLoaded deprecated warning

After upgrading to Unity 5.4.0f3 Personal, the following warning is displayed with Syrinj usage:

OnLevelWasLoaded was found on SceneInjector
This message has been deprecated and will be removed in a later version of Unity.
Add a delegate to SceneManager.sceneLoaded instead to get notifications after scene loading has completed

Providers fail to provide after Android build

Providers would occasionally fail to inject and "provide" in the Unity editor when testing my game. The console would be filled with errors such as:

[PlayerTouchRegion (PlayerDrag)] Could not find provider for player
UnityEngine.Debug:LogError(Object)
Syrinj.DependencyContainer:TryInjectProvidable(Injectable) (at Assets/Syrinj/Scripts/DependencyContainer.cs:113)
Syrinj.DependencyContainer:TryInjectAll() (at Assets/Syrinj/Scripts/DependencyContainer.cs:92)
Syrinj.DependencyContainer:Inject(IList`1) (at Assets/Syrinj/Scripts/DependencyContainer.cs:64)
Syrinj.GameObjectInjector:Inject() (at Assets/Syrinj/Scripts/GameObjectInjector.cs:35)
Syrinj.SceneInjector:InjectBehaviours(MonoBehaviour[]) (at Assets/Syrinj/Scripts/SceneInjector.cs:41)
Syrinj.SceneInjector:InjectScene() (at Assets/Syrinj/Scripts/SceneInjector.cs:29)
Syrinj.SceneInjector:Awake() (at Assets/Syrinj/Scripts/SceneInjector.cs:17)

This can be resolved if I remove and add the Injector Component to any provider GOs.

Although there may be other cases that cause this issue, I've noticed this Unity editor Injector issue will reliably occur following an Android build.

Test Tools deprecated and not working

It is a minor thing, but the provided Test Tools were deprecated by Unity and don't work in the newer Versions of Unity. I think Testing is now built directly into Unity.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.