EliotVU / Unreal-Library

UnrealScript decompiler library for Unreal package files (.upk, .u, .uasset; etc), with support for Unreal Engine 1, 2, and 3
MIT License
367 stars 86 forks source link

Fix for UStaticMeshComponent stub extending UModelComponent instead of UMeshComponent #81

Closed Un-Drew closed 5 months ago

Un-Drew commented 5 months ago

I'm guessing this is a typo - since it causes an exception by hitting the end of the stream on UModelComponent.Deserialize:

image

That said, there is something there at the end of the stream, after defaultproperties ... but it doesn't seem like it's anything from UModelComponent.

EliotVU commented 5 months ago

Nice catch, thanks!