Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

How many of you can run Unity Viking Village demo ?

Discussion in 'General Discussion' started by bhavinpanara22, Mar 6, 2015.

  1. bhavinpanara22

    bhavinpanara22

    Joined:
    Jul 5, 2013
    Posts:
    126
    Hello,

    Today i downloaded the Unity viking village demo. And surprisingly it's full of error.
    Like this,

    pass >= 0 && pass < (int)m_Passes.size()
    UnityEditor.DockArea:OnGUI()

    And number of vertices & tris are so high that, i can't run the demo scene.
    It will run only on 2 - 4 fps.
    Even if i use occlusion culling, it will run on 5 - 6 fps.

    My hardware is also good.
    It's iMac 27", 8GB RAM, 1GB nvidia graphics card. And it's just 5 months old. So, please don't blame my machine.

    If anyone knows, how can i run it properly, please let me know.

    Thanks.
     
  2. DaDonik

    DaDonik

    Joined:
    Jun 17, 2013
    Posts:
    258
    I have a 2,5 year old PC and it never goes below 45 fps in 1080p and 'Berzerk' graphics settings.

    My PC:
    i7 3770k
    16gb RAM
    Geforce 660TI

    I guess thats a Mac thing, never had the impression that these things are made for gaming...
     
  3. bhavinpanara22

    bhavinpanara22

    Joined:
    Jul 5, 2013
    Posts:
    126
    Am i getting wrong anything ?
    Should i change anything to make the demo work in editor ?

    Thanks.
     
  4. Deleted User

    Deleted User

    Guest

    <troll>you should have bought a real computer</troll>
    But syrious there is propably not much you can do. What gpu and cpu do you have? The exact model. 1gb nvidea doesnt say much
     
  5. bhavinpanara22

    bhavinpanara22

    Joined:
    Jul 5, 2013
    Posts:
    126
  6. DaDonik

    DaDonik

    Joined:
    Jun 17, 2013
    Posts:
    258
    Well these are 'not too good' mobile graphics cards.

    Given that the Viking Demo doesn't even use LOD's on these pretty high poly meshes, thats to expected from that kind of hardware.
     
  7. Zeblote

    Zeblote

    Joined:
    Feb 8, 2013
    Posts:
    1,102
    Doesn't it have almost 20 million tris? I heard the viking village is horribly optimized.
     
  8. DaDonik

    DaDonik

    Joined:
    Jun 17, 2013
    Posts:
    258
    The word optimized doesn't fit in the context of that demo. It's more a showoff for what it can do even without optimizing :D

    All they have done to make it perform better is enabling occlusion culling.

    It runs a bunch of post processing, has high res textures, no LOD's. All stuff that will kill the framerate on a mobile GPU.
     
    bhavinpanara22 likes this.
  9. bhavinpanara22

    bhavinpanara22

    Joined:
    Jul 5, 2013
    Posts:
    126
    @DaDonik , Can you please tell me, which kind of hardware are good for it ? And, i agree with you, that Viking Village may be showoff for Unity 5. I can't even run it in unity Editor also.

    @Zeblote , I think it has 32 Million tris. And if we use occlusion culling , then it will become 8 Million.
     
  10. DaDonik

    DaDonik

    Joined:
    Jun 17, 2013
    Posts:
    258
    Well you need a good graphics card, the one you have ends with an M, which declares it as a mobile graphics card usually used in laptops. As we all know, laptops are not the best when it comes to gaming.

    The graphics card i have is more than 2 years old and was ~400$ when i bought it. So you don't need to pay a lot of money, you just need a decent graphics card. 1gb of memory is also a bit low, considering the amount and size of the textures used in the viking demo.

    Actually the editor needs to render even more, as you have the scene view AND the game view. They both don't run in fullscreen, but there is still much overhead compared to just running the Demo from a build.

    Don't get fooled by the stats window. I checked it yesterday, the stats display the amount of triangles inside the cameras view frustrum and does not take into account any triangles that might not be rendered due to occlusion culling.
    So don't rely on the stats window for the actual amount of triangles rendered on screen.
     
    Ryiah likes this.
  11. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,065
    Something to keep in mind with iMacs is that they are essentially laptop hardware. It doesn't help either that the GT 755M is a fairly weak model. It is actually weaker than a GTX 260 which came out over seven years ago.
     
    DaDonik likes this.
  12. HemiMG

    HemiMG

    Joined:
    Jan 17, 2014
    Posts:
    911
    Imagine how I feel on a 6 year old iMac. I guess a better upgrade path for me, if I can ever afford to upgrade, would be an older Mac Pro rather than a new iMac. I knew they used mobile cards, but I didn't realize the difference was that stark.
     
  13. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,065
    The GT 755M is roughly comparable to a GT 640. Or basically an ~$65 video card (back when they were still available). The difference between the X40s and the X60s is pretty drastic. Companies have also been known to rebrand older models as slightly weaker newer models.
     
    Last edited: Mar 6, 2015
  14. DaDonik

    DaDonik

    Joined:
    Jun 17, 2013
    Posts:
    258
    I really don't understand the naming schemes of Nvidia or ATI/AMD. They seem so arbitrary...or even worse they might do it on purpose.

    General Nvidia advice (ranging from 2xx up to current 9xx):
    Don't ever by a graphics card with less than 60 at the end. Normally the x60's are the best you can get, considering performance and price. Go for a x60TI if it's available, they are a few percent faster and don't cost much more. Everything below 60 is generally worse than the x60 of the previous generation.
     
    frosted likes this.
  15. HemiMG

    HemiMG

    Joined:
    Jan 17, 2014
    Posts:
    911
    Realistically, even a cheap modern laptop should be better than my 9400M, so I don't guess a new iMac would be horrible. But a big advantage that an older Mac Pro would offer is the ability to change cards. Although hopefully by the time any new computer I bought became as useless as the one I have now, my finances would be such that I could just upgrade the whole thing.
     
  16. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,065
    Benchmarks are generally my source of information. NVIDIA seems to be particularly fond of inventing a new identification scheme with every new generation of cards.

    This brings with it the disadvantage that you may end up with a CPU-locked system. I had that issue a few years ago when I went from a budget dual to a performance quad without changing my graphics card and my frame rate literally tripled.
     
  17. bhavinpanara22

    bhavinpanara22

    Joined:
    Jul 5, 2013
    Posts:
    126
    I never knew this.
    Otherwise i would also choose other model than iMac.
    Is it possible to upgrade the graphics card now ?
     
  18. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,065
    You'd have to contact Apple. Or an Apple technician.
     
    bhavinpanara22 likes this.
  19. HemiMG

    HemiMG

    Joined:
    Jan 17, 2014
    Posts:
    911
    A while back I downloaded the Unigine Heaven benchmark just for giggles. On the basic setting, I average 3.4fps. On the extreme setting, it said I averaged 1fps, but I was counting 11-17 seconds between frames and the time they said elapsed wasn't even close to the actual time it took to finish. So I suppose I shouldn't really care too much what the next computer is. It can't help but be an upgrade. When my game gets more complete I'm going to try an indeigogo campaign to get a better machine. Since indiegogo will give you the money if it isn't fully funded, I can set the bar at a new 5k iMac or whatever and (hopefully) still get a used machine if it doesn't get funded. Anything is better than this. It's really hard to develop desktop games when adding a depth of field effect drops you down to unplayable speeds at the highest settings. I don't want to record my trailers at 480p! ;-)
     
  20. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,065
    That's slowly becoming my viewpoint as well. My current system is using hardware that is roughly five years old. It is still a decent system for the games and applications I run, but it definitely needs to be replaced soon. If only because it has been running nearly non-stop and I'm worried it'll start failing.
     
    Ony likes this.
  21. HemiMG

    HemiMG

    Joined:
    Jan 17, 2014
    Posts:
    911
    Failure is something that concerns me too. Although, I do have a 2001 iMac that is still going strong powering my electronic drum kit. At least it was, I don't remember the last time I had enough leisure time to even turn it on.
     
  22. pushingpandas

    pushingpandas

    Joined:
    Jan 12, 2013
    Posts:
    1,418
    my late 2011 27" iMac, 4GHz quad-core Intel Core i7, 16 GB, 2GB AMD Radeon HD 6970M, runs Demo around 60FPS
     
  23. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    Intel HD Graphics 5000 ? that should run it fine.


    Also the viking village is not optimised. It's actually got no optimisation at all, so please do not use this as a benchmark for Unity 5's performance.
     
  24. TylerPerry

    TylerPerry

    Joined:
    May 29, 2011
    Posts:
    5,577
    That was probably a bad decision.
     
  25. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    Probably an unavoidable decision. GDC was coming. People need examples.
     
    Ony likes this.
  26. bhavinpanara22

    bhavinpanara22

    Joined:
    Jul 5, 2013
    Posts:
    126
    @hippocoder , It's not intel. it's nvidia.you can see the full features here,
    second last in this list,
    http://www.apple.com/imac/specs/
    And don't you think viking village must be optimised to run on all possible platforms ?
     
  27. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,065
    It is little more than a tech demo so I suspect it wasn't intended to run outside of the editor.
     
  28. Jaimi

    Jaimi

    Joined:
    Jan 10, 2009
    Posts:
    6,169
    I have the same machine (but with 16gb RAM). The viking demo works great.
     
  29. Tomnnn

    Tomnnn

    Joined:
    May 23, 2013
    Posts:
    4,148
    They can do gaming, but they'll self destruct. While working on a huge unity project, my charger cable faded to yellow, then blue, then split open. It was scary :p

    Also fell asleep on my mac once while doing dev stuff, and woke up with boils and burns on my arm. I still have scars from that :/
     
    DaDonik and Ryiah like this.
  30. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    Sure I've spoken to Unity about it. They don't have time in between doing a billion other jobs. I agree, and they agree it should be optimised. In this case, it wasn't.

    But, some good can come of it. You can use it to teach yourself how a scene can be identified for optimisation.

    1. check the materials. Having different textures on each material (in this case AO maps) will cause it not to batch.

    2. Lack of LOD

    3. terrain is a giant mesh. Really this needs to be optimised quite a bit, possibly using Unity terrain instead.

    4. Umbra

    5. using less expensive shaders for objects that don't appear much different.
     
  31. Tomnnn

    Tomnnn

    Joined:
    May 23, 2013
    Posts:
    4,148
    Optimization is for noobs! The better solution is to hook up your computer to a nuclear power plant and connect 100 graphics cards together!
     
  32. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,065
    Might make for a good tutorial series from Unity.

    If it meant faster baking I imagine someone would give it a go. :p
     
    Socrates and Tomnnn like this.
  33. bhavinpanara22

    bhavinpanara22

    Joined:
    Jul 5, 2013
    Posts:
    126
    ROFL @Tomnnn , how many graphics card you have connected ?
     
  34. Tomnnn

    Tomnnn

    Joined:
    May 23, 2013
    Posts:
    4,148
    Actually, my laptop now uses a hybrid optimus system. NVidia made it up recently, and it means that my graphics card isn't actually connected to my display at all. It's now just a dedicated number cruncher for tough stuff.

    It's awkward at first, but you get used to doing all of your settings through the horrible built in cpu graphic settings software.
     
  35. bhavinpanara22

    bhavinpanara22

    Joined:
    Jul 5, 2013
    Posts:
    126
    EDIT TO ORIGINAL POST:

    I don't know, what was wrong, but now i can run the viking village with around 30-35 fps.
     
  36. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,065
    Does your iMac have both Intel HD and NVIDIA GT 750M (aka Hybrid Optimus)? If so it may have simply not shifted from one to the other when you tried running it the first time.
     
  37. bhavinpanara22

    bhavinpanara22

    Joined:
    Jul 5, 2013
    Posts:
    126
    no, i doesn't have both.
    i think that, first time i tried the demo by importing it in the existing projects. and this time i created the new project.
     
  38. jistyles

    jistyles

    Joined:
    Nov 6, 2013
    Posts:
    34
    Necro post:
    Since this post was the only reference I found on the interwebs for:
    "pass >= 0 && pass < (int)m_Passes.size()"
    I thought I'd post about it in case anyone else encounters this issue in the future.

    I encountered the recurring error spam "pass >= 0 && pass < (int)m_Passes.size()" in my own project, turns out it's shader compilation related. This project was forced opengl rendering path, and I'd caused the issue by attempting to do a matrix multiplication on a float4 which was only initialised as a float3 (w hadn't been filled in). Instead of any verbose error, it spams the above.

    The error sounds like it's trying to bind a shader pass even though the pass array is empty
     
  39. MonetAudio

    MonetAudio

    Joined:
    Apr 17, 2017
    Posts:
    4
    how did you get it to work?
     
  40. Jaimi

    Jaimi

    Joined:
    Jan 10, 2009
    Posts:
    6,169
    I didn't have to do anything, it just worked.
     
  41. calgraham545

    calgraham545

    Joined:
    Jun 26, 2019
    Posts:
    5
    Hi

    i've started venturing out to game audio design
    I've just downloaded unioty 5 the latest
    I imported Viking Village to learn how to use fmod with Unity however none of the graphics show up
    Errors keep popping up
    So i read the system requirments and i think I had a too up to date software for my system
    so re deleted it (im not good at macs either, more pc but got it for logic prox) and uploaded an older version 2018.4.2f1 to see if that would make any difference it hasn't

    I get this

    Assets/Editor/CrossPlatformInput/CrossPlatformInputInitialize.cs(88,17): error CS0619: 'BuildTargetGroup.WebPlayer' is obsolete: 'WebPlayer was removed in 5.4, consider using WebGL'

    I aint got a clue what any of it means im a reet novice
    Im on Elcapitan version 10.11.4

    So i can't do any of the learning with FMOD and Unity
    please can someone give me some simple advise as im desperate to learn how to use fmod and intergrate it

    if i can't get it to work is there any other easy projects out there?

    thanks
    Cal
     
  42. kdgalla

    kdgalla

    Joined:
    Mar 15, 2013
    Posts:
    4,302
    I'm pretty sure you can just delete that file.

    Why would you need the Viking Village demo in order to learn FMOD, though?
     
  43. Jaimi

    Jaimi

    Joined:
    Jan 10, 2009
    Posts:
    6,169
    Why are you using Unity 5? If you want to try Unity out, i recommend using the latest version.

     
    MadeFromPolygons likes this.
  44. calgraham545

    calgraham545

    Joined:
    Jun 26, 2019
    Posts:
    5
    Well the fmod learning page directs you through to unity to use viking village as a way to learn sound design by intergrating fmod to unity 5
    unsure if im using the right software, tried to follow the direction from FMOD through to UNITY to make this work
    however i have since uploaded the origional version i had which is the newest version of unity and tried to upload others games such as book of the dead as free to see if it works but im really struggling to get any unity game to work through unity at the mo?
    thanks
     
  45. calgraham545

    calgraham545

    Joined:
    Jun 26, 2019
    Posts:
    5
    sorry i might be getting confused based on never using this software but i think im actually just using unity and not unity 5
     
  46. Jaimi

    Jaimi

    Joined:
    Jan 10, 2009
    Posts:
    6,169
    Viking demo is 3 major versions old - it will probably not work right on current versions of Unity, and will likely be a colossal pain to upgrade. Book of the Dead is a sample application for the "High Definition Rendering Pipeline".

    If you are using the current version, you should probably use this instead:

    https://assetstore.unity.com/packages/templates/tutorials/3d-game-kit-115747
     
    Ryiah likes this.
  47. calgraham545

    calgraham545

    Joined:
    Jun 26, 2019
    Posts:
    5
    Hi

    thanks for this support
    appreciate it
    Ive started to download the 3d game to see what happens
    :)
     
  48. Lurking-Ninja

    Lurking-Ninja

    Joined:
    Jan 20, 2015
    Posts:
    9,865
    Don't mind the video description for the tutorial you're trying which says "This video series was made with Unity 5.4."


    If you follow tutorials, always use the same version as the person who did it. You're a beginner you're not equipped with adequate knowledge to fix any version-incompatibility arises.
     
  49. calgraham545

    calgraham545

    Joined:
    Jun 26, 2019
    Posts:
    5
    Hi

    thanks
    I can download the 5, 4 version
    so i might have a go to see if it works then hopfully i can follow the tutorial
    clearly wasn't listening just in too much of a rush to learn
    thanks again