-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I need a Universal Render Pipeline Version Animation Sample!!!Thank you !!! #1
Comments
I managed to port it over to the Universal Render Pipeline with limited success after eventually finding a package combination that works and several (voluntary and involuntary) Unity restarts, to convince the compiler that the scripts are correct! 🕺 Unity Version:
Limitations:
The frustration is steadily growing, mostly due to the slow turnaround time and Unity crashes bugs with the beta Big thanks for creating these examples in the first place btw! @oldio |
Hi and thanks for the comments/feedback. A URP pipeline is in the works but as specified in the README the current version only works with HDRP. There's a bit of work to do on our side to support instanced skin matrices for GPU skinning in URP. Again, this is an early preview of Dots.Animation, we know the API is still a bit rough but our goal is to make things a lot more simple to do in the near term. |
Can you tell us the exact release time of this urp animation? Like One week later or one month later. |
Hm, what's not working? How I got it to work initially is basically opening my project and this one next to each other and comparing every single component and values side-by-side until the errors were gone. Do you have a screenshot of what's not working for you rn? I'll try to respond in a timely manner :) |
Great work @nicolasgramlich ! Although I think you might be taking a performance hit because you may not go through the GPU instancing pipeline. To answer your question, we are planning on making a URP experimental skinning pipeline available around GDC. Hopefully you can put your hands on it then. Note that we also just pushed another update (0.3.0-preview.7), this has quite a few improvements namely better dots component integration with our animation graph evaluator and a data layout that is more SIMD friendly. This should translate better performances overall. |
Awesome, that's barely a month away. I can't wait! :)
I'll check it out later and see if performance changed! |
@oldio I just checked out the repo. Great work on restructuring the examples, that'll help a lot of people! 👏 (@cdm456852 check out the MyFirstAnimationClip example! ) For my project it was basically a drop in replacement, which was nice :) Regarding performance (in the editor, I'll check on Android later): It seems about roughly the same. |
@oldio how would I figure out the GPU instancing issue you raised? Also here the new performance benchmark on Pixel XL (≈40FPS)Pixel 4 XL (>90FPS) |
Thank you so much,But what I wanted to say is that I need a Universal render pipeline version of Animation system Not a HDRP version,Can you help me? |
The only thing you really need to add for "URP support" is the URP compatible shader from above :) To make it work in your own project, copy these files to your project: https://github.com/Unity-Technologies/Unity.Animation.Samples/tree/14ece9d3c953cc32c2c0f2ae196140a4ae80455c/UnityAnimationHDRPExamples/Assets/Scripts/Common (you don't need all of them, but copy all of them for simplicity). In order to help you need to be more specific on what's not working. To originally get it working in my project took me more time than I'm willing to admit :) For cross reference there is also a thread developing here: https://forum.unity.com/threads/animation-documentation.818892/#post-5472981 If I have the time, I'll fork this project and make a crude, working and highly unofficial URP example 🙈 |
Thank you so much,I will try it later!! |
Hi @oldio. Does URP experimental skinning pipeline optimized for mobile platform? |
Hi i could managed to do with urp too. Gpu instancing works with it. But when bone count is too high. I takes lots of time to start. I think gdc is near. If it'll work with srp without problem i will use it for spectators. And is there a custom lod system for this? And how can i offset animation with PerformanceTestGraph? If i want offset for every single entity, is it possible or should i need different scenes for some offset groups? I will just use it for spectators. On some devices i get this error "The number of vertex shader storage blocks (1) is greater than the maximum number allowed (0)." Is there any chance with mali gpu? As i read in arm forum may be this helps to you. If you offset every vertex with vertex index in shader than i have done it with mali gpu. here video but just used float3 array for positions. I found this line in unity linear blend skinning node https://www.youtube.com/watch?v=uEqtzW2zs_c |
So there is still no timeline for the dots animation support of the universal render pipeline. |
So I finally took a stab at this again. After almost giving up trying to find out why all the meshes were "in sync" despite having individually animating bones. It would look something like this: Turns out all you have to do to fix it is turn on And as you can see the problem has been solved and the meshes are now in sync with their individual bones :) Turns out @oldio pushed that change after me cloning the repo dd68f2c 🙈 🙃 😱 Note: This is all HDRP and I'll give it a shot on URP 🙏 |
No luck with URP 😭 @oldio I'm kindly asking if there any news? 🙏 (good or bad news, we can handle it) Oh and if you could make a recommendation if we should switch to 2020.x to use this package with URP, let us know 😄 |
Hi, Can you share your project to me, I tried multiple times with URP, But all of them failed,I am very interested in your example with URP and texture. |
@oldio any news for us 🙏 :) |
Yes, also wondering on news of URP as it has been several months now. |
But it seemed the author of this example did not want to care about our question Because they never reply us, And this example has not been updated for 7 months,I am very disappointed about the author of this example. |
It's not because we do not care - that couldn't further from the truth. The main reason for delaying updates has been mostly motivated by how unstable the code base has been these past few months and we did not want to expose our users to such churn. One point to note is that rendering aspects are not dictated by one sole team but a coordination of multiple packages working together. Fortunately we are now able create a workable URP project and one of our goals this sprint is to update these samples to add a URP project to the mix. It will at most contain only a small set of samples but the difference in setup between URP/HDRP is minimal (i.e. materials need to be recreated in the appropriate format). Unfortunately I can't promise an ETA right now but this repo should be updated soon to reflect all the work that has been done in the past few months. |
Hi! Thanks for your reply, I am so glad to hear the news about the next release, Especially for the URP support, You said that this example will be updated soon, So Can I assume the next update will come before the end of this month? |
@cdm456852 he specifically said there is no ETA right now, so let's be patient hopefully just a little longer 🙏 @oldio The community really appreciates the response. What we were "upset" about is not really the lack of "code updates" but simply updates on the general state of the package. There are delays and things always take longer (we're all just as guilty of that), but the difference is being left in the dark and an update just like the one you did "Things are taking longer. There is no ETA right now." is all we've been asking for :) That being said, we're all very excited about the URP support, even if it's just minimal :) |
URP project is now provided in the last sample update. |
niu b |
I need a Universal Render Pipeline Version Animation Sample!!!Thank you !!!
The text was updated successfully, but these errors were encountered: