armory3d / armory3d/armory

File / Json Read ONLY works in Bundled/ , but not deeper in the dir

Open
#1,394 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
3.3k
Forks
353
Avg merge
3d 16h
Merged PRs (30d)
1

Description

![error2](https://user-images.githubusercontent.com/45501253/65316276-f0ec2d80-db99-11e9-8238-de6f892062b6.PNG)

When i want to read a json file anywhere else than inside the Bundled/ folder it crashes.
No matter wether i instead use a absolute path or other notations.

So if i want to access a file lets say in Bundled/canvas/canvas.json it crashes,
same file but only like Bundled/canvas.json works fine.

Same goes for other files than json and all other directories.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the file read with Bundled/canvas/canvas.json and compare it with Bundled/canvas.json, including a non-JSON file and an absolute path. Trace the path handling used for bundled resources; done means nested files and other file types can be read without crashing.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.