Search Issue Tracker
Fixed in 2018.2.X
Votes
1
Found in
2018.2.0a1
2018.2.0b3
Issue ID
1033707
Regression
Yes
[Text Mesh Pro] "Does not exist in the current context" Error appears on launching editor
Text mesh on pro throws does not exist in the current context error on launch
Steps to Repro:
1. Open attached project
2. Observe console for errors
Actual Result:
1. Errors appear in the console
2. Unable to enter play mode
Note:
1. Not occurring in a new empty project with text mesh pro package installed
2. Occurring in multiple machines with the same project
3. Errors disappear on removing text mesh pro package
4. The text mesh pro package version is 1.2.2
5. The error disappears after clearing project cache files
Occurring with:
2018.3.0a1, 2018.2.0b3, 2018.2.0b1, 2018.2.0a4, 2018.2.0a1
Working with:
2018.1.0f2
Environment:
Windows & Mac
Stack Trace:
C:/ProgramData/Unity/cache/packages/packages.unity.com/com.unity.textmeshpro@1.2.1/Scripts/Runtime/TMP_InputField.cs(2199,246): error CS0103: The name `currentLine' does not exist in the current context
Comments (4)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- NullReferenceException errors are thrown in the console when adding Custom Pass to Volume and Dynamic Resolution is enabled
- Border is not rendered when transition-duration is set and border-color is transparent
- Crash on DynamicHeapAllocator::CreateTLSFBlock when opening a scene with specific GameObjects
- HDRP shadows cast by Volumetric Clouds flicker when moving the Scene view Camera
- "ArgumentOutOfRangeException" is thrown when using Japanese IME and rewriting the field during composition
Lividus
Sep 02, 2018 16:28
Unity 2018.2.4 Problem still exists.
yuehaowang
Jul 17, 2018 07:13
I also met problems as @KSCHUSTER described. However, I don't have to use TextMesh in my project, so I just remove this package and rebuild the whole project. Then it works.
kschuster
Jul 13, 2018 18:41
Visual Studio say:
ERROR CS2001 Source File "E:\projects\unity\TestForTextMeshPro\Packages\com.unity.textmeshpro\Scripts\Runtime\TMP_TextElement.cs" not found.
This for all files for textmeshpro... this is because the folder "com.unity.textmeshpro" does not exists.
Consort
Jul 11, 2018 09:16
this problem only started occuring for me in 2018.2. I've rebuilt the solution files, re-installed TMP but to no success.