diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a4b40a..cd0f54a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [1.0.4] - 2022-06-01 +### Fixed +- Fixed build project path + ## [1.0.3] - 2022-05-31 ### Added - A changelog. Cuz why not? :D diff --git a/unity.inc.php b/unity.inc.php index fb6e814..e5e57c9 100644 --- a/unity.inc.php +++ b/unity.inc.php @@ -37,7 +37,7 @@ function unity_exec($func, $build_target = "", $quit = true, $batchmode = true) { global $GAME_ROOT; - $proj_path = normalize_path("$GAME_ROOT/"); + $proj_path = normalize_path(get("UNITY_ASSETS_DIR") . '/../'); $log_file = "$GAME_ROOT/build/unity.log"; ensure_rm($log_file);