View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001841 | NoesisGUI | Unity | public | 2020-11-20 18:09 | 2020-12-03 12:27 |
| Reporter | stonstad | Assigned To | sfernandez | ||
| Priority | normal | Severity | major | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 3.0.7 | ||||
| Target Version | 3.0.8 | Fixed in Version | 3.0.8 | ||
| Summary | 0001841: NoesisPostProcessor Fails Importing Fonts | ||||
| Description | I am unable to import the following two fonts within the same project. I tried placing each font in a different directory but it fails. IOException: Sharing violation on path D:\Source\MBI.CustomerSelect.Unity\MBI.CustomerSelect.Unity.Project\Assets\User Interface\Fonts2\Proforma-SemiBold_36608.ttf | ||||
| Steps To Reproduce | Add fonts to Unity project w/ Noesis installed. Encl. AngryFonts.zip | ||||
| Attached Files | |||||
| Platform | Any | ||||
|
Those two .ttf files refer to the same family name "Proforma", but I was able to import them to the Unity project by adding them to different folders. |
|
|
Just to make it clear, I meant that both ttfs have the same family name and weight (400) so if you import both in the same directory, only the first registered one will be in fact used. |
|
|
I've been doing some tests and I was able to reproduce that "Sharing violation" exception by having the font opened in windows and then reimporting the xaml in Unity. To fix this I had to change how we open files in NoesisPostprocessor adding "FileShare.Read": line 188: using (FileStream file = File.Open(font, FileMode.Open, FileAccess.Read, FileShare.Read)) This should work, could you try it yourself until we release a new version? |
|
|
Hi Sergio -- I was referencing both versions like this:
The fonts conflicted despite existing in a different directory. To my knowledge, the font was not open in a third-party program other than Unity. |
|
|
I'll try your proposed change. |
|
|
Did you try the fix? |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2020-11-20 18:09 | stonstad | New Issue | |
| 2020-11-20 18:09 | stonstad | File Added: AngryFonts.zip | |
| 2020-11-20 18:12 | jsantos | Product Version | 3.1 => 3.0.7 |
| 2020-11-20 18:12 | jsantos | Target Version | => 3.0.8 |
| 2020-11-20 18:12 | jsantos | Description Updated | |
| 2020-11-20 18:12 | jsantos | Steps to Reproduce Updated | |
| 2020-11-20 18:17 | sfernandez | Assigned To | => sfernandez |
| 2020-11-20 18:17 | sfernandez | Status | new => feedback |
| 2020-11-20 18:17 | sfernandez | Note Added: 0006785 | |
| 2020-11-20 18:32 | sfernandez | Note Added: 0006786 | |
| 2020-11-23 11:53 | sfernandez | Note Added: 0006791 | |
| 2020-11-24 02:07 | stonstad | Note Added: 0006809 | |
| 2020-11-24 02:07 | stonstad | Status | feedback => assigned |
| 2020-11-24 02:07 | stonstad | Note Added: 0006810 | |
| 2020-11-26 18:36 | jsantos | Status | assigned => feedback |
| 2020-11-26 18:36 | sfernandez | Note Added: 0006835 | |
| 2020-12-03 12:27 | sfernandez | Status | feedback => resolved |
| 2020-12-03 12:27 | sfernandez | Resolution | open => fixed |
| 2020-12-03 12:27 | sfernandez | Fixed in Version | => 3.0.8 |
| 2025-10-10 13:29 | jsantos | Category | Unity3D => Unity |