Kulestar / powerui

PowerUI, the HTML UI framework for Unity.
138 stars 32 forks source link

PowerUI didn't work on 2019.2+ Versions #20

Open pabatribick opened 4 years ago

pabatribick commented 4 years ago

I want to use PowerUI for my gamedevelopment, but it didn't work because the MoviePlayer class is obsolete. What can I do to fix that in the newer Unity versions? Only replace MoviePlayer with the new VideoPlayer didn't work!

philfleck commented 4 years ago

Hi, i am wether a maintainer nor the developer. What i found out so far is that oyu can just remove those parts. Depends on what you need. There some tricky parts around transparency and float:left behavior in il2cpp vs Mono vs .Net builds. Besides this, it is one of the most powerful assets you can get.

pabatribick commented 4 years ago

How should i remove the Video parts? There included in many files. Thats not helpful!

philfleck commented 4 years ago

Usually it is implemented within the *Package files like ImagePackage.cs and the access to it via video.cs

with the new unity versions it needs a bit more attention as of just dragging it into unity. The project seems to be in dangilng state right now ...

i can just tell what i found out - usually i am deploying to uwp/hololens/android/ios all having some issues to some degree where you need to look into.

any hope that helps, since answers here are not very common. Furthermore the MovieTexture is being replaced by the VideoTexture, so this might be a needed rewrite. Since it is already good capsuled, it should be doable.

MuhammadFaizanKhan commented 3 years ago

It works on unity 2019.x when your project is on webgl. Throws error when you are on standalone platform.