Skip to content

Problems with autocomplete function [Cannot read properties of undefined (reading 'length')] #161

@rodrigogpontes

Description

@rodrigogpontes

Hi.
Recently we updated the version of WebGLInput plugin used in our projects, from 1.3.1 to 1.4.0, to correct the backwards typing problem with fullscreen mode, but now we are noticing a new problem with some TMPro InputFields who have the 'Content Type' = 'Email Address'.

When are used the autocomplete function to write an email address to a login field, this error happens:

Uncaught TypeError: Cannot read properties of undefined (reading 'length')
at lengthBytesUTF8 (f4a96543-38bc-446a-9579-7fdc60046107:2:13555)
at func (f4a96543-38bc-446a-9579-7fdc60046107:2:76224)
at HTMLInputElement. (f4a96543-38bc-446a-9579-7fdc60046107:2:76701)

I'm sending a picture of the error to a better anaysis. The game was tested using the 125.0.2535.92 version of Microsoft Edge browser in a Windows 11 environment, and the game was developed using Unity 2021.3.36f1.

Thanks in advance, and thanks again for making this so useful project for all of us.

Best regards,
Rodrigo

error

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions