Search Issue Tracker

Fixed in 2019.1

Fixed in 2018.4

Duplicate in 2018.4

Votes

0

Found in

2018.2.11f1

Issue ID

1088160

Regression

No

[Android][Windows] template variable DIR_UNITYPROJECT on Windows does not escape '/' characters

Mobile

-

Steps to reproduce:
1. Open user attached project
2. Go to Assets/Plugins/Android folder and open mainTemplate.gradle
3. Observe that the following line is added: file('**DIR_UNITYPROJECT**/Assets/Plugins/Android/mainActivity/template/AndroidManifest.xml.template')
4. Export the gradle project and take a look at the generated build.gradle file
5. Notice that the project path characters are slashes('/') instead of backslashes('\')

Expected result: template variable DIR_UNITYPROJECT on Windows should be separated with '/' characters

Rerproduced in: 2019.1.0a4, 2018.3.0b5, 2018.2.11f1, 2017.4.13f1, 2017.2.4f1

  1. Response avatar

    Resolution Note (fix version 2018.4):

    Fixed in 2018.4.24f1

Comments (4)

  1. 39a8b0ddfaae0d60c6d9a8afd191f458?d=mm

    MdevUnity

    Sep 14, 2020 14:06

    Issue is reproducible in 2017.4.40f1
    Occured after update from 2017.4.29

    Any chance to port solution to 2017.4 ?

  2. 78d44a36e0557baae9e1c552d2e0a4f3?d=mm

    TAabr1816

    Jun 18, 2020 17:01

    i am facing this issue in 2018.4.0f1

  3. Cdcff9d8bcc59a5ef0b63b5ddd262883?d=mm

    Natsume-Shunsuke

    Feb 13, 2020 06:49

    Reproduced in: 2018.4.16f1

  4. 7f6d17160487fcf3d33934ea7f4f6940?d=mm

    lastcode

    Jan 16, 2020 06:38

    Rerproduced in: 2017.4.36f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.