UnrealScript-Language-Service icon indicating copy to clipboard operation
UnrealScript-Language-Service copied to clipboard

[Bug]: Assigning an object to a string (DefaultProperties)

Open EliotVU opened this issue 1 year ago • 1 comments

Describe the bug

The server is missing support for assigning an object using a string literal, and reports the error Type 'String' is not assignable to type 'Object if type checking is enabled.

defaultproperties
{
     // Not supported
     DefaultTexture="EngineResources.WhiteSquareTexture"
     // Supported
     DefaultTexture=Texture2D'EngineResources.WhiteSquareTexture'
}

Screenshots

No response

EliotVU avatar Feb 09 '23 15:02 EliotVU