# Exception while generating include data for UnrealEditor: System.ArgumentNullException: Value cannot be null. (Parameter 'element')

**URL:** <https://forums.unrealengine.com/t/exception-while-generating-include-data-for-unrealeditor-system-argumentnullexception-value-cannot-be-null-parameter-element/1332875>\
**Category:** Feedback & Requests\
**Tags:** unreal-engine, bug-report\
**Created:** [October 15, 2023, 2:36am UTC](https://forums.unrealengine.com/t/exception-while-generating-include-data-for-unrealeditor-system-argumentnullexception-value-cannot-be-null-parameter-element/1332875 "2023-10-15T02:36:43Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Guy\_Paddock](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Guy\_Paddock](https://forums.unrealengine.com/u/Guy_Paddock)\
**Post date:** [September 15, 2024, 11:44pm UTC](https://forums.unrealengine.com/t/exception-while-generating-include-data-for-unrealeditor-system-argumentnullexception-value-cannot-be-null-parameter-element/1332875/6 "2024-09-15T23:44:45Z")

</div>

For me, this was caused by the Nvidia Omniverse plugin. The workaround in [[UBT Bug] No longer able to compile plugins in standalone since 5.3 - #11 by Sam\_Swain](https://forums.unrealengine.com/t/ubt-bug-no-longer-able-to-compile-plugins-in-standalone-since-5-3/1318659/11) worked for me.

It looks like what happens is that there is an extension method that takes no parameters that only exists on the type that is expected to be returned from enumerating each plugin. If the plugin has a bug and doesn’t return the right type, the method is missing, so the base method that requires the `element` parameter gets invoked, resulting in the exception about the required parameter being `null`. Using the workaround, you can identify the problematic plugin(s) and/or suppress the error.

---

_[View the full topic](https://forums.unrealengine.com/t/exception-while-generating-include-data-for-unrealeditor-system-argumentnullexception-value-cannot-be-null-parameter-element/1332875)._
