Skip to content
This repository was archived by the owner on Jul 19, 2019. It is now read-only.
This repository was archived by the owner on Jul 19, 2019. It is now read-only.

Unknown types always become UObject #29

@mihe

Description

@mihe

Trying to do something like:

export function(param: {}) { /* ... */ }

... will result in param resolving to a UObject pin in the resulting blueprint function.

This is because FTsuTypeIndex::Find is too aggressive right now, and will turn any unknown/unresolvable type into UObject.

It was made to be that way because of prior issues with blueprint types randomly failing to resolve, and instead of just throwing that pin away it was made to fall back on UObject instead, which would still allow any dependant blueprints to compile.

One potential fix would be to have the parser server report if the type is a derivative of UObject and only fall back to UObject if that's the case.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions