Loading a project with a Render Texture into Unity (normal version)

Hello,

I was wondering if someone knows what happens when I load a project in Unity - normal version (non pro) - and that project contains a render texture.

I am asking this because I am writing a project that uses RenderTexture and I want the project to use the render texture when run/compiled in Unity Pro but changes to an alternate solution/functionality if that Render Texture can’t be used in Unity (normal version)

so …

1. Does Unity prevent the entire project from loading?

or

2. Does Unity just prevents access to that render texture?

If option 2 … another question …

If that texture would be located at, for example Resources\Textures\renderTexture01
would loading it from Resources using Resources.Load(Resources\Textures\renderTexture01)

return a null value?

or

generate an exception?

Anyone?

Its 2, render textures don’t work without pro.
I think it will be neither actually, you will get an error much earlier on missing hardware support cause without pro the function that checks for feature presence will return false for it.

As you are meant to use this functions instead of relying something to just work, you would then be in charge to handle it correspondingly

Thanks for your quick reply dreamora.

Do you also know what function I could use to check if I am running this project in the Editor of Unity or in Unity Pro?

To check if you are in the editor can be done through Application.IsEditor
There is no check for “is unity pro or not”, you would use the capabilities check to see if a hardware capability is present or not, if you are not on pro it will respond with false for everything thats pro only

I do not seem able to find how I can script a capability check to ‘know’ that I should delegate to another functionality because someone is running my project in Unity, in stead of Unity Pro.

How could such an capability check be accomplished?

FYI … I am writing a ‘commercial’ - demo project that has to use a Render Target (used for selecting purposes) if someone would be checking it out in Unity Pro … but should still work with another selector (probably GUI) if checked out in Unity normal.

There is no “instead of unity pro”, projects have no dependence on pro or not pro.
Only the editor installations have.

so the same project is pro and not pro at the same time, just that pro features will cease to work when used with the free license.

I understand that a project has no Unity version dependance.

But there should be a way for me to find out when running my project that
my render texture is ‘not working’ so I could use the alternate GUI selection funtionality.

If this would not be possible I have to create 2 projects … 1 for Unity with a GUI selector
and 1 for Unity Pro with the Render Texture selector. But this would not be my first choice.