Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug in tscn format #4579

Closed
ret80 opened this issue May 7, 2016 · 6 comments
Closed

bug in tscn format #4579

ret80 opened this issue May 7, 2016 · 6 comments
Milestone

Comments

@ret80
Copy link

ret80 commented May 7, 2016

Operating system or device - Godot version:
godot 2.0.2

Issue description (what happened, and what was expected):
1 to create a scene "A"
2 create a scene "B" and add the scene of "A"
3 included in the stage of "B" at the scene "A" mode "redoktirovanie children"
4 In this mode, the scene of "A" to edit some sort of option (but not root node) (I used a string)
5 values of changed parameters at startup will not change

Steps to reproduce:

Link to minimal example project (optional but very welcome):
https://www.dropbox.com/s/5wz2coi8367v3zi/tscn_error.zip?dl=0

@neikeq
Copy link
Contributor

neikeq commented May 7, 2016

This is how I understood the steps:

  1. Create scene "A"
  2. Create scene "B" and instance the scene "A" on it
  3. Enable the option "Editable Children" for the instanced scene "A" in scene "B"
  4. Edit some property of some children of the instanced scene "A" (not the "A" root node)
  5. The values of these properties are not applied when running the game

I could not reproduce it, assuming that's the issue. In my test, the scene "A" was a Control as node with a Button as child. The property I changed was the button's text.

What version are you using? If you have problems explaining how to reproduce it, you can provide an example project.

@volzhs
Copy link
Contributor

volzhs commented May 8, 2016

maybe it's about 3d? #4320

@ret80
Copy link
Author

ret80 commented May 8, 2016

https://www.dropbox.com/s/5wz2coi8367v3zi/tscn_error.zip?dl=0

There's only one who writes the script "error" or "ok". It is also worth attention bridle error message from the engine.

@neikeq
Copy link
Contributor

neikeq commented May 8, 2016

I get the following warning:

Parent path 'fsm/enemy/world' for node 'hunt' has vanished when instancing 'res://scene/game.tscn'

There is an issue about that warning which seems to be a tscn bug: #4580. It may be the cause of this bug.

@ret80
Copy link
Author

ret80 commented May 8, 2016

Perhaps only in my case, the variable "way" nothing found. The inspector can see that I have a way to script it is not.

tsn_error

@ret80
Copy link
Author

ret80 commented May 8, 2016

Moreover, all present in the scene file, but does not work at start

tscn_error_2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants