Collisions not working on static mesh components in packaged builds

Hello, I am creating static meshes during runtime using section data. The mesh is created as expected and i am able to trace to it in editor and stand alone mode. However, when i package the game the trace no longer hits this mesh.

I faced a similar problem for static meshes that were already imported as uassets but solved the issue by setting the bAllowCPUAccess flag.
I have tried packaging the project using the project launcher as well but it did not seem to fix my issue.

Any help will be appreciated.

Thanks.

Creating the static mesh with the Static mesh component as the Outer fixed this issue .