# Can´t enable nanite for more than 12287 assets

**URL:** <https://forums.unrealengine.com/t/can-t-enable-nanite-for-more-than-12287-assets/251793>\
**Category:** Feedback & Requests\
**Tags:** unreal-engine, Nanite\
**Created:** [September 20, 2021, 7:17pm UTC](https://forums.unrealengine.com/t/can-t-enable-nanite-for-more-than-12287-assets/251793 "2021-09-20T19:17:41Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [December 19, 2021, 1:15pm UTC](https://forums.unrealengine.com/t/can-t-enable-nanite-for-more-than-12287-assets/251793/10 "2021-12-19T13:15:49Z")

</div>

Hi @ricardo.zimmerma,  
Well after a lot of investigation in the source code for UE5 I found how to fix this .  
This is my log of Datasmith import  
LogLayoutUV: FindBestPacking (Total Time: 0 ms, Avg Efficiency: -nan(ind))  
LogUObjectHash: Compacting FUObjectHashTables data took 27.69ms

> \*_**LogDatasmithImport: Imported CENTRAL\_MODEL\_AUDAX\_MARCELO\_E\_BEA\_BRAND\_NEW\_ricar-3DView-3D-ricar in [0 min 31.646 s] [Private Bytes: 4.34 GB, Working Set 3.43 GB, Peak Working Set 3.51 GB]**_

LogShaderCompilers: Display: === FShaderJobCache stats ===  
LogShaderCompilers: Display: Total job queries 917, among them cache hits 0 (0.00%)  
LogShaderCompilers: Display: Tracking 763 distinct input hashes that result in 587 distinct outputs (76.93%)  
LogShaderCompilers: Display: RAM used: 2.15 MB (0.00 GB) of 819.20 MB (0.80 GB) budget. Usage: 0.26%  
LogShaderCompilers: Display: ================================================

In the UE5 Project start-up log we now have

> LogConfig: Applying CVar settings from Section [/Script/Engine.RendererSettings] File [Engine]  
> LogConfig: Setting CVar [[r.GPUCrashDebugging:0]]  
> _LogConfig: Setting CVar [[r.Nanite.Streaming.NumInitialRootPages:4096]]_

The added line in C:\Users\Owner\source\repos\UE50\Engine\Config  
BaseEngine.ini  
in section [/Script/Engine.RendererSettings]

[/Script/Engine.RendererSettings]  
r.GPUCrashDebugging=false  
;@VS2022 Added line increase r.Nanite.Streaming.NumInitialRootPages double from 2048

> _r.Nanite.Streaming.NumInitialRootPages=4096_

Restart UE5 Editor again and new project → new level Add DataSmith Plugins  
then import the file

 ![Screenshot (134)](https://d3kjluh73b9h9o.cloudfront.net/original/3X/f/d/fdc55ef626d2ff7503c870251fc46ba8f7e8e821.png)

So there it’s imported, there does not appear to be any lighting though?

---

_[View the full topic](https://forums.unrealengine.com/t/can-t-enable-nanite-for-more-than-12287-assets/251793)._
