Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

TMPro_FontPlugin.Initialize_FontEngine error 240

Discussion in 'Scripting' started by aortega_ea, Jul 11, 2019.

  1. aortega_ea

    aortega_ea

    Joined:
    Feb 19, 2019
    Posts:
    7
    Hi,
    I'm generating a TextMesh Pro font asset from code, and when I call TMPro_FontPlugin.Initialize_FontEngine() I get error code 240.

    Are these error codes documented somewhere? Does someone know what error 240 means?

    Thanks.
     
  2. RupeOxVR

    RupeOxVR

    Joined:
    Jul 18, 2018
    Posts:
    7
    Did you get anywhere with this?

    I was having the same problem, and managed to get around it by always calling TMPro_FontPlugin.Destroy_FontEngine() before Initialize_FontEngine()