Jump to content

Does the scene optimizer have any special requirements for the scene models, such as their names, material associations or model structures, all of which should be separated, and how to solve the failure all the time


LynneLk
Go to solution Solved by Manny,

Recommended Posts

  1. 103136393_QQ20220714115426.thumb.png.d88ccb07efd3083cb0c17395197ac4fe.png

Using Gaia pro 2021 version 3.2.4 and then using the scene optimizer, there will be a series of red errors, there is no way to run

Link to comment

ee.thumb.jpg.a1b649514efa9ec93f8ab98c2ebc0605.jpg

After using optimization, the frame rate is not as high as it was when it was not optimized. It is the exact opposite. What is the reason?

Link to comment

Hi @LynneLk

I tried to reproduce the issue with 3x3 gaia terrains sized 512, but I did not get these errors while optimizing the scene. I'm only seeing a slight increase in frame rate since there are not that many objects to optimize on the terrain (mainly the Gaia houses). 
Do you have only Gaia assets on the terrain, or any other art content as well? I'm asking because the first error message (Null reference error) looks like it is being raised deeper down in the unity API when trying to combine the mesh data together - it would be interesting to find out which object causes this as we have not seen this error before yet.

Another error is the Scene "XXXXXXX" could not be loaded error - this should be relatively easy to fix: Open the Terrain Loader Manager and click the "Add Terrains to Build Settings" button here:


image.pngThis should make sure all the terrains of your setup are added to the build settings so they can be loaded correctly during runtime.

Link to comment

ok ,thank you very much。In addition to the gaia resources in my project, there are also some urban buildings and trees. I have tried many times and have not achieved the correct effect in the demo, so I think the scene optimizer has special requirements for model resources. , I haven't seen the resources in the demo case, I have a lot of doubts and I'm still trying. Do you have any good suggestions?

Link to comment

197778664__20220715090000.thumb.jpg.c574fa6c4ee77a98e712ffe96373cbbb.jpg

I tried to use scene optimizer with gaia to optimize my scene, it doesn't seem to be as great as the official demo shows, after I delete it, it seems that my terrain becomes like this, it seems to have questionable

Link to comment
On 7/14/2022 at 10:09 PM, LynneLk said:

Does the scene optimizer have requirements for the version of Unity? I am using unity2021.3.2

No it doesnt, just needs to be 2020.3 and higher. 
 

Link to comment
On 7/14/2022 at 7:06 PM, LynneLk said:

197778664__20220715090000.thumb.jpg.c574fa6c4ee77a98e712ffe96373cbbb.jpg

I tried to use scene optimizer with gaia to optimize my scene, it doesn't seem to be as great as the official demo shows, after I delete it, it seems that my terrain becomes like this, it seems to have questionable

This looks to be your terrain loading if you are using Gaia Pro 2021 world streaming: 
image.png

Can you please show me the optimized parent? Do you see any children of that parent? 

 

Link to comment

Yes,I am using Gaia Pro 2021 world streaming, it is terrain loading In order to reduce memory consumption, the number of terrain blocks in my project is relatively large, reaching 32 blocks. This is my project requirement. If I use the optimizer and do not optimize the terrain, there will be no such problem.

Link to comment

Now there is no problem with the terrain, my scene does not seem to be compatible with the optimizer, the buttons of the UI cannot be clicked, and the optimized parent and child are empty. After learning the demo and documentation, I followed the demonstration operation .I have consulted you about this issue, and you may still be researching this issue. It's the same model, stitched together as a prefab to form a train track, they are the same shader, don't know why it can't be as good as the official demo 。thank you

1906833594__20220718102600.thumb.jpg.ad9ce18d506752f4779fe1c9a88d6591.jpg78167334__20220719084413.thumb.png.2febfb6da7f6f1b8f8fb6a3350e2b194.png1989541400__20220719084454.thumb.jpg.240122943d0a88f2901a0f3983242687.jpg

Link to comment
  • 4 months later...
  • Solution

I followed up with @LynneLk over Discord a little while ago and we determined that this was a simple issue with how Scene Optimizer was outputting meshes. It has been fixed in later versions of Scene Optimizer.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Tell a friend

    Love Canopy - Procedural Worlds? Tell a friend!
  • Need help?

    We work with some of the biggest brands in global gaming, automotive, technology, and government to create environments, games, simulations, and product launches for desktop, mobile, and VR.

    Our unique expertise and technology enable us to deliver solutions that look and run better at a fraction of the time and cost of a typical project.

    Check out some of our non-NDA work in the Gallery, and then Contact Us to accelerate your next project!

×
×
  • Create New...