Skip to content

Can not use type 'NetworkVariable<string>' in develop branch #1193

@ojh6t3k

Description

@ojh6t3k

My project is using the MLAPI develop branch.
The following error appears when using 'NetworkVariable< string>'

error CS8377: The type 'string' must be a non-nullable value type, along with all fields at any level of nesting, in order to use it as parameter 'T' in the generic type or method 'NetworkVariable'

I think that NetworkVariable is not supported.
Is there any other way if I need to synchronize a string type variable?

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:supportQuestions or other support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions