Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - vitosflash

Pages: [1]
1
Releases / Re: 2D Toolkit 2.0 final
« on: June 04, 2013, 11:56:24 am »
I just recreated objects with tk2dSpriteFromTexture and all seems to be ok now. Perhaps it was related to previous reimport of the package or something like this.

> We normally just use the GameObject > Create Other > tk2d > Sprite to create a sprite. Any particular reason you prefer to add components instead?

It`s quite useful when prototyping. At some point I can have a Game Object with some other scripts and don`t want to recreate it from scratch or create a separate child for Sprite.
Anyway it should work this way I think :) As it was in 1.xx

I`m starting a project from scratch and was worried a little as I never saw any errors from 1.xx . But I definitely want to start with 2.00 at least just not to have migration issues in future, when the project will be much bigger. And of course as it have some new great features.

Btw, great product, great support. Good luck in development!

2
Releases / Re: 2D Toolkit 2.0 final
« on: June 04, 2013, 10:25:27 am »
One remark. I see that the error itself relates to tk2dSpriteFromTexture (I have a separate backgrounds as a tk2dSpriteFromTexture in each scene). But it started to appear when I added empty Game Object and tk2dSprite on it. All was alright with tk2dSpriteFromTexture components before, there was no any errors. Hope it could help.

3
Releases / Re: 2D Toolkit 2.0 final
« on: June 04, 2013, 09:57:13 am »
I got one more error.

I`ve just added a tk2dSprite (manually, as a component) on an empty Game Object. And I got this one:

> Destroying assets is not permitted to avoid data loss.
> If you really want to remove an asset use DestroyImmediate (theObject, true);
> UnityEngine.Object:DestroyImmediate(Object)
> tk2dSpriteFromTexture:DestroyInternal() (at Assets/TK2DROOT/tk2d/Code/Sprites/tk2dSpriteFromTexture.cs:92)
> tk2dSpriteFromTexture:Create(tk2dSpriteCollectionSize, Texture, Anchor) (at Assets/TK2DROOT/tk2d/Code/Sprites/tk2dSpriteFromTexture.cs:47)
> tk2dSpriteFromTexture:Awake() (at Assets/TK2DROOT/tk2d/Code/Sprites/tk2dSpriteFromTexture.cs:28)

I`ve removed the sprite, but the error message is still there.

There are two scenes in the project, I`m switching between them and get the message every time I`m in the scene with that sprite (or where that sprite was before I deleted it).

Could you please look into this also?

4
Releases / Re: 2D Toolkit 2.0 final
« on: June 04, 2013, 04:28:16 am »
I tried to import the package several times - every time I see this error only once. It seems that all other things is ok after that, but I`m not sure.

5
Releases / Re: 2D Toolkit 2.0 final
« on: June 03, 2013, 03:40:47 pm »
Hi, thanks for fast fix! Now it works perfect.
One more issue with the last package - I got this error on import of tk2d into empty project with the only default Main Camera object:

> PPtr cast failed when dereferencing! Casting from Shader to Camera!
> UnityEditor.AssetPreviewUpdater:CreatePreviewForAsset(Object, Object[], String)

6
Releases / Re: 2D Toolkit 2.0 final
« on: June 03, 2013, 07:45:44 am »
I get a bunch of errors in newly created project when trying to add tk2dSprite script to an existing empty Game Object. Unity 4.1.3. Could you please test it?

Pages: [1]